summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* #9124: mailbox now accepts binary input and uses binary internallyR. David Murray2011-01-302-131/+354
| | | | | | | | | | | | | | | | Although this patch contains API changes and is rather weighty for an RC phase, the mailbox module was essentially unusable without the patch since it would produce UnicodeErrors when handling non-ascii input at arbitrary and somewhat mysterious places, and any non-trivial amount of email processing will encounter messages with non-ascii bytes. The release manager approved the patch application. The changes allow binary input, and reject non-ASCII string input early with a useful message instead of failing mysteriously later. Binary is used internally for reading and writing the mailbox files. StringIO and Text file input are deprecated. Initial patch by Victor Stinner, validated and expanded by R. David Murray.
* Issue #10845: Improve compatibility between multiprocessing on Windows and ↵Nick Coghlan2011-01-301-1/+9
| | | | package, zipfile and directory execution (Reviewed by Antoine Pitrou and approved by Georg Brandl)
* Protect logging call against None argument (fixes #11045).Éric Araujo2011-01-291-1/+2
| | | | | | Initial patch by Kelsey Hightower. Approved by Raymond. A test was non-trivial to write without calling the private function directly, so we moved that for later.
* Issue #10939: Make Internaldate2tuple test more robust.Alexander Belopolsky2011-01-291-6/+8
|
* Issue 11052: Correct IDLE menu accelerators on Mac OS X for SaveNed Deily2011-01-291-2/+2
| | | | commands. (with release manager approval for 3.2rc2)
* Issue #11053: Fix IDLE "Syntax Error" windows to behave as in 2.x,Ned Deily2011-01-291-2/+2
| | | | | preventing a confusing hung appearance on OS X with the windows obscured. (with release manager approval for 3.2rc2)
* Issue #10940: Workaround an IDLE hang on Mac OS X 10.6 when using theNed Deily2011-01-291-1/+6
| | | | | menu accelerators for Open Module, Go to Line, and New Indent Width. The accelerators still work but no longer appear in the menu items.
* Issue #10939: Fixed imaplib.Internaldate2tuple(). Thanks Joe PetersonAlexander Belopolsky2011-01-292-3/+14
| | | | for the report and the patch. Reviewed by Georg Brandl.
* Issue #10989: Fix a crash on SSLContext.load_verify_locations(None, True).Victor Stinner2011-01-291-0/+3
| | | | Patch reviewed by Antoine Pitrou, okayed by Georg Brandl.
* Issue #11302: missing type check on _string.formatter_field_name_split and ↵Eric Smith2011-01-291-0/+52
| | | | | | _string.formatter_parser caused crash. Originial patch by haypo, reviewed by me, okayed by Georg.
* Issue 10573: revert unittest docs to first / secondMichael Foord2011-01-281-6/+6
| | | | | Minor internal change to unittest.TestCase.assertCountEqual Reviewed by R. David Murray
* Issue #11020: Command-line pyclbr was broken because of missing 2-to-3Raymond Hettinger2011-01-271-1/+1
| | | | | | conversion. (Patch reviewed by David Murray.)
* Issue #11018: fix a test to not be a no-op in test_bz2.Antoine Pitrou2011-01-261-1/+1
| | | | Found by Nadeem Vawda, reviewed by Brett.
* #11019: Make BytesGenerator handle Message with None body.R. David Murray2011-01-262-0/+9
| | | | Bug discovery and initial patch by Victor Stinner.
* Issue #11014: Make 'filter' argument in tarfile.Tarfile.add() into aRaymond Hettinger2011-01-262-2/+6
| | | | | | | keyword-only argument. The preceding positional argument was deprecated, so it made no sense to add filter as a positional argument. (Patch reviewed by Brian Curtin and Anthony Long.)
* Revert r88197. I'll refix correctly once there is a test.R. David Murray2011-01-261-5/+2
|
* Fix BytesGenerator._handle_text() if the message has no payload (None)Victor Stinner2011-01-261-2/+5
|
* fix import in email.message_from_binary_file()Victor Stinner2011-01-251-1/+1
| | | | Parser => BytesParser
* Issue #11004: Repair edge case in deque.count().Raymond Hettinger2011-01-251-0/+9
| | | | | | | | | (Reviewed by Georg Brandl.) Also made similar changes to deque.reverse() though this wasn't strictly necessary (the edge case cannot occur with two pointers moving to meet in the middle). Making the change in reverse() was more a matter of future-proofing.
* Tighten the restrictions on the test_sys test which triggers a fatal error whenBrett Cannon2011-01-251-2/+2
| | | | run with tracing turned on.
* another pretty crasher served up by pypyBenjamin Peterson2011-01-251-0/+20
|
* #10974: IDLE no longer crashes if its recent files list includes filesNed Deily2011-01-241-2/+4
| | | | | | with non-ASCII characters in their path names. (with approval of release manager for 3.2rc2)
* Issue #11000 ast.parse parses source, not just expressions.Terry Reedy2011-01-241-4/+4
|
* Issue #9509: make argarse properly handle IOErrors raised by ↵Steven Bethard2011-01-242-15/+22
| | | | argparse.FileType. Approved by Georg in the tracker.
* Make the type consistent for hashlib algorithm constants. (Reviewed by ↵Raymond Hettinger2011-01-242-3/+3
| | | | Benjamin).
* Skip a recursion depth check test when running under CPython and have a traceBrett Cannon2011-01-231-0/+2
| | | | | | | function set. Otherwise a Python fatal error about hitting an unrecoverable recursion depth gets triggered. Closes issue #10985. Code review by Georg Brandl.
* Fix typo.Raymond Hettinger2011-01-231-1/+1
|
* Add entry for reprlib.Raymond Hettinger2011-01-231-0/+1
|
* #10983: fix several bugs in the _tunnel implementation that seem to have ↵Georg Brandl2011-01-221-3/+5
| | | | missed while porting between branches. A unittest is needed!
* To match the behaviour of HTTP server, the HTTP client library now also encodesArmin Ronacher2011-01-222-3/+9
| | | | | | headers with iso-8859-1 (latin1) encoding. It was already doing that for incoming headers which makes this behaviour now consistent in both incoming and outgoing direction.
* Issue #10980: encode headers with latin1 instead of ASCII in the HTTP server.Armin Ronacher2011-01-222-2/+12
| | | | | This makes the implementation of PEP 3333 compliant servers on top of BaseHTTPServer possible.
* Issue #10949: Improved robustness of rotating file handlers.Vinay Sajip2011-01-211-0/+2
|
* Fix JSON docs about loads() accepting only str objects, not bytes.Antoine Pitrou2011-01-211-0/+2
|
* Issue #10955: Fix a potential crash when trying to mmap() a file past itsAntoine Pitrou2011-01-201-0/+13
| | | | | | length. Initial patch by Ross Lagerwall. This fixes a regression introduced by r88022.
* Issue #10934: Fixed and expanded Internaldate2tuple() andAlexander Belopolsky2011-01-191-4/+10
| | | | | Time2Internaldate() documentation. Thanks Joe Peterson for the report and the original patch.
* Issue #10451: memoryview objects could allow to mutate a readable buffer.Antoine Pitrou2011-01-182-1/+15
| | | | Initial patch by Ross Lagerwall.
* Remove out-of-date commentRaymond Hettinger2011-01-161-4/+0
|
* Fix mmap and test_mmap under Windows too (followup to r88022)v3.2rc1Antoine Pitrou2011-01-151-5/+6
|
* Bump to 3.2rc1.Georg Brandl2011-01-152-2/+2
|
* Update pydoc topics.Georg Brandl2011-01-151-11/+11
|
* Issue #10916: mmap should not segfault when a file is mapped using 0 asAntoine Pitrou2011-01-151-0/+13
| | | | | | | length and a non-zero offset, and an attempt to read past the end of file is made (IndexError is raised instead). Patch by Ross Lagerwall. Requested by Georg.
* #10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5,Ned Deily2011-01-152-0/+24
| | | | | rather than the currently problematic Apple-supplied one, when running with the 64-/32-bit installer variant.
* cgi: use isinstance(x, list) instead of type(x) == type([])Victor Stinner2011-01-141-3/+3
|
* Issue #4953: cgi.FieldStorage and cgi.parse() parse the request as bytes, notVictor Stinner2011-01-142-79/+186
| | | | | as unicode, and accept binary files. Add encoding and errors attributes to cgi.FieldStorage.
* test_urlparse: add tests for encoding and errors argumentsVictor Stinner2011-01-141-0/+27
|
* Add encoding and errors arguments to urllib.parse_qs() and urllib.parse_qsl()Victor Stinner2011-01-141-5/+19
|
* Issue 10899: Remove function type annotations from the stdlibRaymond Hettinger2011-01-132-18/+24
|
* Issue #10899: Move function type annotations into docstrings.Raymond Hettinger2011-01-131-30/+36
| | | | | Note, the docstrings (for the most part) were already very thorough and included type information.
* More PEP 8: no space around "=" in argument lists.Georg Brandl2011-01-131-11/+10
|
* Issue 10899: Remove function type annotations from the stdlibRaymond Hettinger2011-01-131-1/+1
|