summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* only run doctests when __doc__ is aroundBenjamin Peterson2012-10-161-3/+4
|
* Issue #16244: Remove file mode overrides.Vinay Sajip2012-10-161-2/+0
|
* fix typoBenjamin Peterson2012-10-161-1/+1
|
* don't expect warnings from doctests if they can't runBenjamin Peterson2012-10-162-3/+6
|
* Fixes Issue #12268 for the io module - File readline, readlines andGregory P. Smith2012-10-121-0/+239
| | | | | | | | | | | read or readall methods no longer lose data when an underlying read system call is interrupted within an io module object. IOError is no longer raised due to a read system call returning EINTR from within these methods. This is a backport of changeset 781b95159954 from 3.2. The earlier 2.7 changeset 67dc99a989cd already fixed this for the builtin python 2.x file object.
* Fix #16176. Properly identify Windows 8 via platform.platform()Brian Curtin2012-10-111-1/+6
| | | | Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server.
* Issue #16168: Use specified socket type for domain sockets in SysLogHandler.Vinay Sajip2012-10-091-8/+2
|
* Issue #14900: Add aliases for sorting params for pstat to follow column ↵Andrew Svetlov2012-10-071-0/+4
| | | | | | names from pstat output. Patch by Arne Babenhauserheide.
* Issue #14900: Distuguish call count and primitive call count in pstat output.Andrew Svetlov2012-10-071-1/+1
| | | | Patch by Arne Babenhauserheide.
* Clean up a test turd.Mark Dickinson2012-10-071-0/+1
|
* #16112: platform.architecture does not correctly escape argument to ↵Jesus Cea2012-10-051-2/+2
| | | | /usr/bin/file. Fix original patch
* #16112: platform.architecture does not correctly escape argument to ↵Jesus Cea2012-10-051-4/+3
| | | | /usr/bin/file. Use 'communicate()'
* Issue #14997: disable <F5> in idle shell window.Andrew Svetlov2012-10-041-0/+2
| | | | Thanks to Roger Serwy for patch.
* Closes #16112: platform.architecture does not correctly escape argument to ↵Jesus Cea2012-10-041-1/+21
| | | | /usr/bin/file. Solve a 2.7 bootstrap issue
* Backed out changeset 5abacebec9d2Jesus Cea2012-10-041-5/+8
|
* Backed out changeset c73b90b6daddJesus Cea2012-10-041-8/+5
|
* Closes #16112: platform.architecture does not correctly escape argument to ↵Jesus Cea2012-10-041-5/+8
| | | | /usr/bin/file
* Issue #15756: subprocess.poll() now properly handles errno.ECHILD toGregory P. Smith2012-09-292-2/+18
| | | | | return a returncode of 0 when the child has already exited or cannot be waited on.
* Issues #16029, #16030: Fix pickling and repr of large xranges.Mark Dickinson2012-09-281-0/+75
|
* Pass on parameters in unittest.TextTestResult.__init__ super callMichael Foord2012-09-282-1/+14
|
* #15222: Fix a test failure on WindowsPetri Lehtinen2012-09-261-1/+1
|
* #15222: Insert blank line after each message in mbox mailboxesPetri Lehtinen2012-09-252-8/+64
|
* #15222: test_mailbox: End message template in a newlinePetri Lehtinen2012-09-251-13/+13
|
* switch assertion to an explicit ValueErrorBenjamin Peterson2012-09-252-3/+3
|
* Issue #16037: Limit httplib's _read_status() function to work around brokenChristian Heimes2012-09-251-1/+3
| | | | | HTTP servers and reduce memory usage. It's actually a backport of a Python 3.2 fix. Thanks to Adrien Kunysz.
* 2.7 : Issue #16013: Fix CSV Reader parsing issue with ending quote ↵Senthil Kumaran2012-09-251-0/+9
| | | | characters. Patch by Serhiy Storchaka.
* Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()Christian Heimes2012-09-241-1/+54
| | | | method doesn't require an argument again.
* #15421: fix an OverflowError in Calendar.itermonthdates() after ↵Ezio Melotti2012-09-212-1/+11
| | | | datetime.MAXYEAR. Patch by Cédric Krier.
* #15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka.Ezio Melotti2012-09-214-6/+6
|
* remove gdb noise about linux-vdsoBenjamin Peterson2012-09-211-0/+5
|
* #15970: xml.etree.ElementTree now serializes correctly the empty HTML ↵Ezio Melotti2012-09-192-1/+21
| | | | elements "meta" and "param".
* A follow up for issue #15906: change the test for calling the type conversionBarry Warsaw2012-09-122-5/+28
| | | | | | | | on the action's default, reverting it back to previous behavior. Conversion is only done on string defaults. Add a test for this and another test that ensures such type conversions are only called once.
* - Issue #15906: Fix a regression in argparse caused by the preceding change,Barry Warsaw2012-09-122-0/+11
| | | | when action='append', type='str' and default=[].
* Closes #15793: Stack corruption in ssl.RAND_egd(). Python 2.7 hasn't any ↵Jesus Cea2012-09-101-6/+2
| | | | issue about this, but add a test just to be sure
* #15676: mmap: add empty file check prior to offset check <- Previous patch ↵Jesus Cea2012-09-101-12/+9
| | | | was incomplete
* Closes #15910: MD5 and SHA1 crash when "updated" with strings bigger than ↵Jesus Cea2012-09-101-0/+33
| | | | 2**32 bytes
* Closes #15908: SHA1 crashes in 64 bits when the string to hash is bigger ↵Jesus Cea2012-09-101-0/+8
| | | | than 2**32 bytes
* #14649: add sample files omitted from previous checkin.R David Murray2012-09-102-0/+27
|
* #14649: clarify DocTestSuite error when there are no docstrings.R David Murray2012-09-103-6/+47
| | | | | | | Also adds tests to verify the documented behavior (which is probably a bug, as indicated in the added comments). Patch by Chris Jerdonek.
* backport from the trunk, to fix test_tools with srcdir != builddirdoko@ubuntu.com2012-09-101-2/+2
| | | | | | | | | | | | changeset: 77827:c23b442b5d5e user: Antoine Pitrou <solipsis@pitrou.net> date: Thu Jun 28 01:20:26 2012 +0200 summary: Avoid using scrdir, it's broken. changeset: 77826:f0e58e778215 user: Neil Schemenauer <nas@arctrix.com> date: Wed Jun 27 15:58:37 2012 -0600 summary: Fix bug in test_tools that prevented building is separate directory.
* Closes #15676: mmap: add empty file check prior to offset checkJesus Cea2012-09-091-0/+16
|
* Issue #15822: Fix installation of lib2to3 grammar pickles to ensureNed Deily2012-09-091-0/+17
| | | | | they are created in the install locations and with the proper timestamp. (Solution suggested by MvL)
* #15510: clarify textwrap's handling of whitespace, and add confirming tests.R David Murray2012-09-081-7/+55
| | | | Patch by Chris Jerdonek.
* #15847: allow args to be a tuple in parse_argsR David Murray2012-09-082-1/+22
| | | | | | | | This fixes a regression introduced by the fix for issue #13922. Although args is not documented as being allowed to be a tuple, previously this worked and so naturally there are programs in the field that depend on it. Patch by Zbyszek Jędrzejewski-Szmek.
* Issue #13992: The trashcan mechanism is now thread-safe. This eliminatesAntoine Pitrou2012-09-051-0/+69
| | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Because of this change, a couple extension modules compiled for 2.7.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 2.7.3 and earlier. However, extension modules compiled for 2.7.3 and earlier will be loadable by 2.7.4.
* Issue #15841: The readable(), writable() and seekable() methods of io.BytesIOAntoine Pitrou2012-09-052-4/+11
| | | | | and io.StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura.
* #15802: Fix test logic in TestMaildir.test_create_tmpPetri Lehtinen2012-09-011-5/+5
|
* #13769: Enhance docs for ensure_ascii semantics in JSON decoding functionsPetri Lehtinen2012-09-012-11/+16
|
* #12776,#11839: call argparse type function only once.R David Murray2012-09-012-7/+62
| | | | | | | | | Before, the type function was called twice in the case where the default was specified and the argument was given as well. This was especially problematic for the FileType type, as a default file would always be opened, even if a file argument was specified on the command line. Patch by Arnaud Fontaine, with additional test by Mike Meyer.
* Closes #15710: accept long in _checkLevel.Vinay Sajip2012-08-291-1/+1
|