Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update merge from 2.7: s/basetring/str | Barry Warsaw | 2012-09-12 | 1 | -1/+1 |
| | |||||
* | A follow up for issue #15906: change the test for calling the type conversion | Barry Warsaw | 2012-09-12 | 2 | -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. | ||||
* | Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to ↵ | Christian Heimes | 2012-09-12 | 1 | -1/+3 |
| | | | | decref 'k' in too many error cases. | ||||
* | Partly revert ad3824a90261 and add comment about reference ownership | Christian Heimes | 2012-09-12 | 1 | -2/+1 |
| | |||||
* | Fix out of bounds read in long_new() for empty bytes with an explicit base. ↵ | Christian Heimes | 2012-09-12 | 1 | -2/+2 |
| | | | | int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359 | ||||
* | - Issue #15906: Fix a regression in argparse caused by the preceding change, | Barry Warsaw | 2012-09-12 | 3 | -0/+14 |
| | | | | when action='append', type='str' and default=[]. | ||||
* | #14617: clarify discussion of interrelationship of __eq__ and __hash__. | R David Murray | 2012-09-11 | 1 | -13/+13 |
| | |||||
* | Fix null pointer dereferencing in structmember.c PyMember_SetOne() for ↵ | Christian Heimes | 2012-09-11 | 1 | -5/+1 |
| | | | | T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815 | ||||
* | Fix issue #15899: Make the unicode.rst doctests pass. Patch by Chris Jerdonek. | Senthil Kumaran | 2012-09-11 | 1 | -14/+13 |
| | |||||
* | Closes #15793: Stack corruption in ssl.RAND_egd() | Jesus Cea | 2012-09-11 | 3 | -7/+6 |
| | |||||
* | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵ | Jesus Cea | 2012-09-10 | 1 | -0/+1 |
| | | | | was incomplete (fix 2) | ||||
* | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵ | Jesus Cea | 2012-09-10 | 2 | -5/+10 |
| | | | | was incomplete | ||||
* | #15676: Proper attribution in Misc/ACKS | Jesus Cea | 2012-09-10 | 1 | -0/+1 |
| | |||||
* | Fixed memory leak in error branch of object_repr which may leak a reference ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | | | | to mod when type_name returns NULL. CID 715371 | ||||
* | Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s ↵ | Christian Heimes | 2012-09-10 | 1 | -0/+1 |
| | | | | going out of scope leaks the storage it points to. | ||||
* | #14649: clarify DocTestSuite error when there are no docstrings. | R David Murray | 2012-09-10 | 6 | -6/+84 |
| | | | | | | | 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 != builddir | doko@ubuntu.com | 2012-09-10 | 1 | -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. | ||||
* | Issue #15901: Change example to use byte string instead of string | Richard Oudkerk | 2012-09-10 | 1 | -1/+1 |
| | |||||
* | Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641 | Christian Heimes | 2012-09-10 | 1 | -0/+1 |
| | |||||
* | Closed reference leak of variable 'k' in function ste_new which wasn't ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+2 |
| | | | | decrefed in error cases | ||||
* | Fixed possible reference leak to mod when type_name() returns NULL | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | |||||
* | PyTuple_Pack() was missing va_end() in its error branch which lead to a ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | | | | resource leak. | ||||
* | Py_TYPE() has already dereferenced self before the NULL check. Moved ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+2 |
| | | | | Py_TYPE() after the check for self == NULL | ||||
* | Closes #15676: mmap: add empty file check prior to offset check | Jesus Cea | 2012-09-09 | 3 | -0/+17 |
| | |||||
* | Issue #15881: Added NEWS entry and proper credit. | Alexander Belopolsky | 2012-09-09 | 2 | -1/+3 |
| | |||||
* | Issue #15881: Fixed 3.2 backport. | Alexander Belopolsky | 2012-09-09 | 1 | -0/+2 |
| | |||||
* | Fixed whitespace | Alexander Belopolsky | 2012-09-09 | 1 | -1/+1 |
| | |||||
* | Issue #15881: Fixed atexit hook in multiprocessing. | Alexander Belopolsky | 2012-09-09 | 2 | -16/+39 |
| | |||||
* | Issue #15822: Fix installation of lib2to3 grammar pickles to ensure | Ned Deily | 2012-09-09 | 3 | -4/+23 |
| | | | | | they are created in the install locations and with the proper timestamp. (Solution suggested by MvL) | ||||
* | #5088: document behavior of optparse defaults with 'append' action. | R David Murray | 2012-09-08 | 1 | -0/+11 |
| | |||||
* | Merge heads. | Ezio Melotti | 2012-09-08 | 2 | -8/+14 |
|\ | |||||
| * | #15865: add "*" in the signature to document keyword-only args in the docs. ↵ | Ezio Melotti | 2012-09-08 | 2 | -8/+14 |
| | | | | | | | | Patch by Chris Jerdonek. | ||||
* | | #15510: clarify textwrap's handling of whitespace, and add confirming tests. | R David Murray | 2012-09-08 | 2 | -14/+69 |
|/ | | | | Patch by Chris Jerdonek. | ||||
* | #15847: allow args to be a tuple in parse_args | R David Murray | 2012-09-08 | 2 | -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 #15868: Fix refleak in bytesio.c (Coverity #715365). | Stefan Krah | 2012-09-08 | 1 | -1/+3 |
| | |||||
* | Issue #15340: Fix importing the random module when /dev/urandom cannot be ↵ | Antoine Pitrou | 2012-09-07 | 2 | -1/+5 |
| | | | | | | opened. This was a regression caused by the hash randomization patch. | ||||
* | Fix for fcc629208842 | Christian Heimes | 2012-09-07 | 1 | -9/+7 |
| | | | | BSD's make doesn't support some of the features. | ||||
* | Issue #15591 and Issue #11715: silence output of setup.py when make is run ↵ | Christian Heimes | 2012-09-06 | 1 | -7/+9 |
| | | | | with -s option. | ||||
* | Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently | Christian Heimes | 2012-09-06 | 1 | -0/+2 |
| | |||||
* | Issue #13992: The trashcan mechanism is now thread-safe. This eliminates | Antoine Pitrou | 2012-09-05 | 7 | -9/+140 |
| | | | | | | | | | | | 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 3.2.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 3.2.3 and earlier. However, extension modules compiled for 3.2.3 and earlier will be loadable by 3.2.4. | ||||
* | Issue #15841: The readable(), writable() and seekable() methods of BytesIO | Antoine Pitrou | 2012-09-05 | 6 | -12/+47 |
| | | | | | and StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura. | ||||
* | Issue #15855: added docstrings for memoryview methods and data descriptors. | Alexander Belopolsky | 2012-09-03 | 1 | -11/+43 |
| | |||||
* | #15509: If %action substitution produces a null string, drop it. | R David Murray | 2012-09-03 | 2 | -2/+12 |
| | | | | | | | | Patch by Anton Barkovsky, comment addition by me. This showed up as a bug in 3.3 because the definition for Chrome produced such an empty string. This fix is tested in 3.3+; backporting the new test suite is more trouble than it is worth. | ||||
* | put * in the normal place | Benjamin Peterson | 2012-09-02 | 1 | -2/+2 |
| | |||||
* | move variable decl to the top of the function | Benjamin Peterson | 2012-09-02 | 1 | -2/+2 |
| | |||||
* | prevert ast errors from being normalized before ast_error_finish is called ↵ | Benjamin Peterson | 2012-09-02 | 3 | -0/+17 |
| | | | | (closes #15846) | ||||
* | #15802: Fix test logic in TestMaildir.test_create_tmp | Petri Lehtinen | 2012-09-01 | 2 | -5/+8 |
| | |||||
* | #12776,#11839: call argparse type function only once. | R David Murray | 2012-09-01 | 4 | -7/+69 |
| | | | | | | | | | 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. | ||||
* | Remove trailing whitespace in order to silence warnings on HP-UX. | Trent Nelson | 2012-08-31 | 1 | -4/+4 |
| | |||||
* | Issue #15825: fix typo in OrderedDict docs. | Andrew Svetlov | 2012-08-31 | 2 | -1/+2 |
| | | | | Patch by Mike Hoy. |