summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add Tim Rice, for SCO patches.Martin v. Löwis2002-09-301-0/+1
|
* Patch #615069: Fix build problems on SCO Open Server 5. Backported to 2.2.Martin v. Löwis2002-09-305-11/+92
|
* 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.
* fix a couple nits related to my understanding of ReST. Use ofSkip Montanaro2002-09-301-3/+3
| | | | | | | | | | | ``void (*)(PyObject *)`` isn't quite the same as void (*)(PyObject \*) but I gather ``...`` is preferable stylistically in most cases than ... \*...
* 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.
* fix a couple nits with my use of ReSTSkip Montanaro2002-09-301-6/+6
|
* Patch #596576: Always use cc to link on NetBSD. Will backport to 2.2.Martin v. Löwis2002-09-302-3/+5
|
* Added -b tag option to limit output to a specific branch only.Guido van Rossum2002-09-291-5/+43
| | | | Use -b HEAD to limit output to the trunk (skip all branch revisions).
* 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
|
* (py-pychecker-run): Fix calculation of last command to include theBarry Warsaw2002-09-281-3/+8
| | | | filename of the current buffer.
* 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-272-0/+40
|
* 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.
* Fix Bug 612886 copy/paste menu items failKurt B. Kaiser2002-09-263-1/+26
| | | | | | | | | | (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
* try executing 'less' in a parenthesized subshell - prevents systems likeSkip Montanaro2002-09-261-1/+1
| | | | | Solaris from squawking if less isn't available. See http://python.org/sf/612111 for details.
* Oops, must convert hyphens to underscores in keys of aliases dict.Guido van Rossum2002-09-261-1/+1
|
* test_unicode_error(): Comment this test out, since we still haveBarry Warsaw2002-09-261-8/+8
| | | | controversy.
* Fixing some RFC 2231 related issues as reported in the SpambayesBarry Warsaw2002-09-263-0/+66
| | | | | | | 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.
* Fixing some RFC 2231 related issues as reported in the SpambayesBarry Warsaw2002-09-261-9/+39
| | | | | | | | | | | | | | | | | | | | | 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().
* Patch for the DEC Alpha under Linux, by Lee Busby.Guido van Rossum2002-09-261-0/+8
|
* Disable big charsets in UCS-4 builds. Works around #599377.Martin v. Löwis2002-09-261-0/+3
| | | | Will backport to 2.2
* Add encoding name in LookupError. Fixes #615013. Will backport to 2.2.Martin v. Löwis2002-09-261-2/+2
|
* Again, I did check in too many changes. Sorry.Thomas Heller2002-09-261-1/+1
|
* Add deprecation notices to the documentation to reflect recent additions toFred Drake2002-09-254-1/+19
| | | | PEP 4.
* __version__: Bump to 2.4Barry Warsaw2002-09-251-9/+16
| | | | | | | | | | | Move the imports of Parser and Message inside the message_from_string() and message_from_file() functions. This way just "import email" won't suck in most of the submodules of the package. Note: this will break code that relied on "import email" giving you a bunch of the submodules, but that was never documented and should not have been relied on.
* Update some comments about what version of the documentation toolsFred Drake2002-09-251-4/+3
| | | | code to use.
* Back out previous change.Neal Norwitz2002-09-252-3/+3
| | | | Quotes aren't necessary in case statements. Spotted by Neil Schemenauer.