- 30 Sep, 2002 9 commits
-
-
Barry Warsaw authored
I seriously doubt this will break any deployed code. Docstring consistency with the updated .tex files.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Barry Warsaw authored
semantics of header chunks using byte and Unicode strings. Specifically, append(): When the given string is a byte string, charset (whether specified explicitly in the argument list or implicitly via the constructor default) is the encoding of the byte string, and a UnicodeError will be raised if the string cannot be decoded with that charset. If s is a Unicode string, then charset is a hint specifying the character set of the characters in the string. In this case, when producing an RFC 2822 compliant header using RFC 2047 rules, the Unicode string will be encoded using the following charsets in order: us-ascii, the charset hint, utf-8. __init__(): Use the global USASCII Charset instance when the charset argument is None. Also, clarification in the docstring. Also, use True/False where appropriate.
-
Jason Tishler authored
Relax regular expression to handle spaces in user and group names.
-
Skip Montanaro authored
``void (*)(PyObject *)`` isn't quite the same as void (*)(PyObject \*) but I gather ``...`` is preferable stylistically in most cases than ... \*...
-
Barry Warsaw authored
Python 2.1.3. However it's required by the email tests suite, so poke it into the encodings aliases if it's missing. The is apparently the approved API for doing so. Now we can remove the hexversion shortcircuits in the test suite.
-
Skip Montanaro authored
-
Martin v. Löwis authored
-
- 29 Sep, 2002 5 commits
-
-
Guido van Rossum authored
Use -b HEAD to limit output to the trunk (skip all branch revisions).
-
Tony Lownds authored
-
Guido van Rossum authored
-
Tony Lownds authored
-
Tony Lownds authored
-
- 28 Sep, 2002 13 commits
-
-
Barry Warsaw authored
doesn't know about the ansi-x3.4-1968 charset so skip two tests that rely on that (msg_32.txt and msg_33.txt).
-
Barry Warsaw authored
some of the test values which change because of this.
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
filename of the current buffer.
-
Barry Warsaw authored
-
Barry Warsaw authored
encoding flag SHORTEST means to return the shortest encoding between base64 and qp. This is used for the header_enc for utf-8. SHORTEST isn't legal for body_enc. Also some code cleanup: - use True/False everywhere - use == instead of `is' in a few places - added _unicode() and make consistent the "is unicode" checks - update docstrings
-
- 27 Sep, 2002 5 commits
-
-
Fred Drake authored
Closes SF bug #583248; backporting to r22-maint branch.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
Closes SF bug #561822. Integrate the "code cleanup and general bug fix patch" (SF bug #545096), contributed by Gustavo Niemeyer. This is the portion of that patch that does not add new functionality.
-
Kurt B. Kaiser authored
"Merge Py Idle changes: Rev 1.7 [Python-idle] loewis Convert characters from the locale's encoding on output. Reject characters outside the locale's encoding on input." Not compatible with Python 2.2.1. Forwardport as a SF patch.
-
- 26 Sep, 2002 8 commits
-
-
Kurt B. Kaiser authored
(cut vs. Cut etc.) Fix Bug 613006 Ctrl-x Unix Binding Clears Selection (do-nothing does something :) Leave some debugging prints behind, commented out M EditorWindow.py M config-keys.def M configHandler.py
-
Skip Montanaro authored
Solaris from squawking if less isn't available. See http://python.org/sf/612111 for details.
-
Guido van Rossum authored
-
Barry Warsaw authored
controversy.
-
Barry Warsaw authored
project, and with assistance from Oleg Broytmann. Specifically, added some new tests to make sure we handle RFC 2231 encoded parameters correctly. Two new data files were added which contain RFC 2231 encoded parameters.
-
Barry Warsaw authored
project, and with assistance from Oleg Broytmann. Specifically, get_param(), get_params(): Document that these methods may return parameter values that are either strings, or 3-tuples in the case of RFC 2231 encoded parameters. The application should be prepared to deal with such return values. get_boundary(): Be prepared to deal with RFC 2231 encoded boundary parameters. It makes little sense to have boundaries that are anything but ascii, so if we get back a 3-tuple from get_param() we will decode it into ascii and let any failures percolate up. get_content_charset(): New method which treats the charset parameter just like the boundary parameter in get_boundary(). Note that "get_charset()" was already taken to return the default Charset object. get_charsets(): Rewrite to use get_content_charset().
-
Guido van Rossum authored
-
Martin v. Löwis authored
Will backport to 2.2
-