Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | #9124: mailbox now accepts binary input and uses binary internally | R. David Murray | 2011-01-30 | 2 | -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 Coghlan | 2011-01-30 | 1 | -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 Araujo | 2011-01-29 | 1 | -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 Belopolsky | 2011-01-29 | 1 | -6/+8 | |
| | ||||||
* | Issue 11052: Correct IDLE menu accelerators on Mac OS X for Save | Ned Deily | 2011-01-29 | 1 | -2/+2 | |
| | | | | commands. (with release manager approval for 3.2rc2) | |||||
* | Issue #11053: Fix IDLE "Syntax Error" windows to behave as in 2.x, | Ned Deily | 2011-01-29 | 1 | -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 the | Ned Deily | 2011-01-29 | 1 | -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 Peterson | Alexander Belopolsky | 2011-01-29 | 2 | -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 Stinner | 2011-01-29 | 1 | -0/+3 | |
| | | | | Patch reviewed by Antoine Pitrou, okayed by Georg Brandl. | |||||
* | Issue #11302: missing type check on _string.formatter_field_name_split and ↵ | Eric Smith | 2011-01-29 | 1 | -0/+52 | |
| | | | | | | _string.formatter_parser caused crash. Originial patch by haypo, reviewed by me, okayed by Georg. | |||||
* | Issue 10573: revert unittest docs to first / second | Michael Foord | 2011-01-28 | 1 | -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-3 | Raymond Hettinger | 2011-01-27 | 1 | -1/+1 | |
| | | | | | | conversion. (Patch reviewed by David Murray.) | |||||
* | Issue #11018: fix a test to not be a no-op in test_bz2. | Antoine Pitrou | 2011-01-26 | 1 | -1/+1 | |
| | | | | Found by Nadeem Vawda, reviewed by Brett. | |||||
* | #11019: Make BytesGenerator handle Message with None body. | R. David Murray | 2011-01-26 | 2 | -0/+9 | |
| | | | | Bug discovery and initial patch by Victor Stinner. | |||||
* | Issue #11014: Make 'filter' argument in tarfile.Tarfile.add() into a | Raymond Hettinger | 2011-01-26 | 2 | -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 Murray | 2011-01-26 | 1 | -5/+2 | |
| | ||||||
* | Fix BytesGenerator._handle_text() if the message has no payload (None) | Victor Stinner | 2011-01-26 | 1 | -2/+5 | |
| | ||||||
* | fix import in email.message_from_binary_file() | Victor Stinner | 2011-01-25 | 1 | -1/+1 | |
| | | | | Parser => BytesParser | |||||
* | Issue #11004: Repair edge case in deque.count(). | Raymond Hettinger | 2011-01-25 | 1 | -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 when | Brett Cannon | 2011-01-25 | 1 | -2/+2 | |
| | | | | run with tracing turned on. | |||||
* | another pretty crasher served up by pypy | Benjamin Peterson | 2011-01-25 | 1 | -0/+20 | |
| | ||||||
* | #10974: IDLE no longer crashes if its recent files list includes files | Ned Deily | 2011-01-24 | 1 | -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 Reedy | 2011-01-24 | 1 | -4/+4 | |
| | ||||||
* | Issue #9509: make argarse properly handle IOErrors raised by ↵ | Steven Bethard | 2011-01-24 | 2 | -15/+22 | |
| | | | | argparse.FileType. Approved by Georg in the tracker. | |||||
* | Make the type consistent for hashlib algorithm constants. (Reviewed by ↵ | Raymond Hettinger | 2011-01-24 | 2 | -3/+3 | |
| | | | | Benjamin). | |||||
* | Skip a recursion depth check test when running under CPython and have a trace | Brett Cannon | 2011-01-23 | 1 | -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 Hettinger | 2011-01-23 | 1 | -1/+1 | |
| | ||||||
* | Add entry for reprlib. | Raymond Hettinger | 2011-01-23 | 1 | -0/+1 | |
| | ||||||
* | #10983: fix several bugs in the _tunnel implementation that seem to have ↵ | Georg Brandl | 2011-01-22 | 1 | -3/+5 | |
| | | | | missed while porting between branches. A unittest is needed! | |||||
* | To match the behaviour of HTTP server, the HTTP client library now also encodes | Armin Ronacher | 2011-01-22 | 2 | -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 Ronacher | 2011-01-22 | 2 | -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 Sajip | 2011-01-21 | 1 | -0/+2 | |
| | ||||||
* | Fix JSON docs about loads() accepting only str objects, not bytes. | Antoine Pitrou | 2011-01-21 | 1 | -0/+2 | |
| | ||||||
* | Issue #10955: Fix a potential crash when trying to mmap() a file past its | Antoine Pitrou | 2011-01-20 | 1 | -0/+13 | |
| | | | | | | length. Initial patch by Ross Lagerwall. This fixes a regression introduced by r88022. | |||||
* | Issue #10934: Fixed and expanded Internaldate2tuple() and | Alexander Belopolsky | 2011-01-19 | 1 | -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 Pitrou | 2011-01-18 | 2 | -1/+15 | |
| | | | | Initial patch by Ross Lagerwall. | |||||
* | Remove out-of-date comment | Raymond Hettinger | 2011-01-16 | 1 | -4/+0 | |
| | ||||||
* | Fix mmap and test_mmap under Windows too (followup to r88022)v3.2rc1 | Antoine Pitrou | 2011-01-15 | 1 | -5/+6 | |
| | ||||||
* | Bump to 3.2rc1. | Georg Brandl | 2011-01-15 | 2 | -2/+2 | |
| | ||||||
* | Update pydoc topics. | Georg Brandl | 2011-01-15 | 1 | -11/+11 | |
| | ||||||
* | Issue #10916: mmap should not segfault when a file is mapped using 0 as | Antoine Pitrou | 2011-01-15 | 1 | -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 Deily | 2011-01-15 | 2 | -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 Stinner | 2011-01-14 | 1 | -3/+3 | |
| | ||||||
* | Issue #4953: cgi.FieldStorage and cgi.parse() parse the request as bytes, not | Victor Stinner | 2011-01-14 | 2 | -79/+186 | |
| | | | | | as unicode, and accept binary files. Add encoding and errors attributes to cgi.FieldStorage. | |||||
* | test_urlparse: add tests for encoding and errors arguments | Victor Stinner | 2011-01-14 | 1 | -0/+27 | |
| | ||||||
* | Add encoding and errors arguments to urllib.parse_qs() and urllib.parse_qsl() | Victor Stinner | 2011-01-14 | 1 | -5/+19 | |
| | ||||||
* | Issue 10899: Remove function type annotations from the stdlib | Raymond Hettinger | 2011-01-13 | 2 | -18/+24 | |
| | ||||||
* | Issue #10899: Move function type annotations into docstrings. | Raymond Hettinger | 2011-01-13 | 1 | -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 Brandl | 2011-01-13 | 1 | -11/+10 | |
| | ||||||
* | Issue 10899: Remove function type annotations from the stdlib | Raymond Hettinger | 2011-01-13 | 1 | -1/+1 | |
| |