- 28 Sep, 2002 12 commits
-
-
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 10 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
-
Martin v. Löwis authored
-
Thomas Heller authored
-
- 25 Sep, 2002 13 commits
-
-
Fred Drake authored
PEP 4.
-
Barry Warsaw authored
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.
-
Fred Drake authored
code to use.
-
Neal Norwitz authored
Quotes aren't necessary in case statements. Spotted by Neil Schemenauer.
-
Neal Norwitz authored
Need to quote $GCC in case it isn't set.
-
Tim Peters authored
A possibility to deadlock (on the hidden import lock) was created here in 2.3, seemingly when tempfile.py started to call functions in random.py. The cure is "the usual": don't spawn threads as a side effect of importing, when the spawned threads themselves do imports (directly or indirectly), and the code that spawned the threads is waiting for the threads to finish (they can't finish, because they're waiting for the import lock the spawner still holds). Worming around this is why the "test_main" mechanism was introduced in regrest, so it's a straightforward fix. NOT a bugfix candidate; the problem was introduced in 2.3.
-
Neal Norwitz authored
Add a test too. urljoin() would make file:/tmp/foo instead of file:///tmp/foo Bugfix candidate, I will backport.
-
Fred Drake authored
-
Guido van Rossum authored
2.2.2.
-
Fred Drake authored
module used in the Zope TAL implementation. The bug was already fixed in the Python standard library, but the regression test would be good to keep around.
-
Guido van Rossum authored
except in the hands of experts. Will backport to 2.2.2.
-
Guido van Rossum authored
except in the hands of experts. Will backport to 2.2.2.
-
Fred Drake authored
-