summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded alias.Marc-André Lemburg2002-10-041-1/+0
|
* Fix doc-string.Marc-André Lemburg2002-10-041-3/+3
|
* Adapt lookup names to new more general encoding name normalizationMarc-André Lemburg2002-10-041-14/+14
| | | | scheme.
* Extending the encoding name normalization to handle more non-alphanumericMarc-André Lemburg2002-10-041-8/+20
| | | | characters.
* Pulling Mark Alexander's contribution from CVS.Marc-André Lemburg2002-10-045-948/+14
|
* Tests for pep277 - Unicode file names on Windows NT.Mark Hammond2002-10-032-0/+110
|
* Updates to track Grammar changes. The patch to token.py loosens the regexp toMichael W. Hudson2002-10-032-1/+3
| | | | allow "testlist1" to be snagged.
* Patch 594001: PEP 277 - Unicode file name support for Windows NT.Mark Hammond2002-10-031-0/+4
|
* Fix an endcase bug: initial_indent was ignored when the text was shortGuido van Rossum2002-10-022-5/+16
| | | | enough to fit in one line.
* Fix for the recursion_level bug Armin Rigo reported in sfMichael W. Hudson2002-10-021-0/+20
| | | | | | | patch #617312, both on the trunk and the 22-maint branch. Also added a test case, and ported the test_trace I wrote for HEAD to 2.2.2 (with all those horrible extra 'line' events ;-).
* test__all__(): Fix the import list.Barry Warsaw2002-10-011-4/+4
|
* save the verbose argument as an instance attributes. Subclasses ofSkip Montanaro2002-10-011-0/+1
| | | | | CCompiler may rely on the presence of self.verbose (SciPy's distutils appears to).
* Commit fix for SF 603831.Guido van Rossum2002-10-011-1/+2
| | | | | | | | | | | | Strangely, two out of three patches there seem already committed; but the essential one (get rid of the assert in object_filenames in ccompiler.py) was not yet applied. This makes the build procedure for Twisted work again. This is *not* a backport candidate despite the fact that identical code appears to exist in 2.2.2; Twisted builds fine there, so there must have been a change elsewhere.
* Docstring consistency with the updated .tex files.Barry Warsaw2002-10-011-3/+3
|
* _structure(): Swap fp and level arguments.Barry Warsaw2002-10-011-2/+2
|
* Docstring consistency with the updated .tex files.Barry Warsaw2002-10-011-6/+15
|
* Docstring consistency with the updated .tex files.Barry Warsaw2002-10-012-17/+17
|
* Docstring consistency with the updated .tex files.Barry Warsaw2002-09-301-3/+4
|
* Docstring consistency with the updated .tex files.Barry Warsaw2002-09-301-3/+3
|
* Docstring consistency with the updated .tex files.Barry Warsaw2002-09-301-3/+3
|
* Docstring consistency with the updated .tex files.Barry Warsaw2002-09-301-3/+3
|
* __all__: UpdatedBarry Warsaw2002-09-301-20/+22
|
* Docstring consistency with the updated .tex files.Barry Warsaw2002-09-301-0/+14
|
* Now that TestCase is a new-style class, change loadTestsFromModule andGuido van Rossum2002-09-301-2/+4
| | | | loadTestsFromName to accept new-style classes too!
* __contains__(): Change the second argument to `name' for consistency.Barry Warsaw2002-09-301-58/+69
| | | | | | I seriously doubt this will break any deployed code. Docstring consistency with the updated .tex files.
* Patch #615069: Fix build problems on SCO Open Server 5. Backported to 2.2.Martin v. Löwis2002-09-301-1/+58
|
* With help from Martin v. Loewis, clarification is added for theBarry Warsaw2002-09-301-29/+61
| | | | | | | | | | | | | | | | | | | | 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.
* Patch #544740: test_commands test fails under CygwinJason Tishler2002-09-301-5/+7
| | | | Relax regular expression to handle spaces in user and group names.
* The ansi_x3.4_1968 encoding is an alias for ascii, but isn't known inBarry Warsaw2002-09-302-12/+9
| | | | | | | | 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.
* Finding a suitable interpreter to spawn needed tweaking on the MacTony Lownds2002-09-291-4/+17
|
* Whitespace normalization (get rid of tabs).Guido van Rossum2002-09-296-100/+98
|
* Mac users now see correct modifiers in the Key Binding Entry window.Tony Lownds2002-09-291-29/+35
|
* Change key binding to avoid conflict.Tony Lownds2002-09-291-2/+2
|
* Make the tests pass under Python 2.1 but only by cheating. Python 2.1Barry Warsaw2002-09-281-0/+12
| | | | | 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).
* Add a test for SHORTEST encoding of utf-8 headers, and also updateBarry Warsaw2002-09-281-9/+16
| | | | some of the test values which change because of this.
* Use True/False everywhere, and other code cleanups.Barry Warsaw2002-09-282-18/+30
|
* Code cleanup and add docstrings.Barry Warsaw2002-09-281-2/+17
|
* Use True/False everywhere, and other code cleanups.Barry Warsaw2002-09-281-7/+11
|
* Use True/False everywhere.Barry Warsaw2002-09-281-5/+12
|
* is_multipart(): Use isinstance() instead of type equality.Barry Warsaw2002-09-281-1/+1
|
* Docstring and code cleanups, e.g. use True/False everywhere.Barry Warsaw2002-09-281-58/+62
|
* __init__(): Minor code cleanup.Barry Warsaw2002-09-281-1/+1
|
* Add a pychecker suppression.Barry Warsaw2002-09-281-0/+4
|
* Use True/False everywhere.Barry Warsaw2002-09-281-20/+19
|
* Added a feature suggested by Martin v Loewis, where a new headerBarry Warsaw2002-09-281-37/+55
| | | | | | | | | | | | | 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
* Allow internal whitespace in keys.Fred Drake2002-09-272-3/+10
| | | | Closes SF bug #583248; backporting to r22-maint branch.
* items(): New method, provided by Gustavo Niemeyer in SF bug #545096.Fred Drake2002-09-271-0/+33
|
* Added regression test for SF bug #561822: has_option() case sensitive.Fred Drake2002-09-271-0/+5
|
* has_option(): Use the option name transform consistently.Fred Drake2002-09-271-53/+49
| | | | | | | | 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.
* Revert Rev 1.6Kurt B. Kaiser2002-09-271-9/+0
| | | | | | | | | "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.