summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s ↵Christian Heimes2012-09-101-0/+1
| | | | going out of scope leaks the storage it points to.
* #14649: clarify DocTestSuite error when there are no docstrings.R David Murray2012-09-106-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 != 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.
* Issue #15901: Change example to use byte string instead of stringRichard Oudkerk2012-09-101-1/+1
|
* Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641Christian Heimes2012-09-101-0/+1
|
* Closed reference leak of variable 'k' in function ste_new which wasn't ↵Christian Heimes2012-09-101-1/+2
| | | | decrefed in error cases
* Fixed possible reference leak to mod when type_name() returns NULLChristian Heimes2012-09-101-1/+3
|
* PyTuple_Pack() was missing va_end() in its error branch which lead to a ↵Christian Heimes2012-09-101-1/+3
| | | | resource leak.
* Py_TYPE() has already dereferenced self before the NULL check. Moved ↵Christian Heimes2012-09-101-1/+2
| | | | Py_TYPE() after the check for self == NULL
* Closes #15676: mmap: add empty file check prior to offset checkJesus Cea2012-09-093-0/+17
|
* Issue #15881: Added NEWS entry and proper credit.Alexander Belopolsky2012-09-092-1/+3
|
* Issue #15881: Fixed 3.2 backport.Alexander Belopolsky2012-09-091-0/+2
|
* Fixed whitespaceAlexander Belopolsky2012-09-091-1/+1
|
* Issue #15881: Fixed atexit hook in multiprocessing.Alexander Belopolsky2012-09-092-16/+39
|
* Issue #15822: Fix installation of lib2to3 grammar pickles to ensureNed Deily2012-09-093-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 Murray2012-09-081-0/+11
|
* Merge heads.Ezio Melotti2012-09-082-8/+14
|\
| * #15865: add "*" in the signature to document keyword-only args in the docs. ↵Ezio Melotti2012-09-082-8/+14
| | | | | | | | Patch by Chris Jerdonek.
* | #15510: clarify textwrap's handling of whitespace, and add confirming tests.R David Murray2012-09-082-14/+69
|/ | | | 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 #15868: Fix refleak in bytesio.c (Coverity #715365).Stefan Krah2012-09-081-1/+3
|
* Issue #15340: Fix importing the random module when /dev/urandom cannot be ↵Antoine Pitrou2012-09-072-1/+5
| | | | | | opened. This was a regression caused by the hash randomization patch.
* Fix for fcc629208842Christian Heimes2012-09-071-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 Heimes2012-09-061-7/+9
| | | | with -s option.
* Issue #15591: run ctypes' configure in quiet mode when setup.py runs silentlyChristian Heimes2012-09-061-0/+2
|
* Issue #13992: The trashcan mechanism is now thread-safe. This eliminatesAntoine Pitrou2012-09-057-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 BytesIOAntoine Pitrou2012-09-056-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 Belopolsky2012-09-031-11/+43
|
* #15509: If %action substitution produces a null string, drop it.R David Murray2012-09-032-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 placeBenjamin Peterson2012-09-021-2/+2
|
* move variable decl to the top of the functionBenjamin Peterson2012-09-021-2/+2
|
* prevert ast errors from being normalized before ast_error_finish is called ↵Benjamin Peterson2012-09-023-0/+17
| | | | (closes #15846)
* #15802: Fix test logic in TestMaildir.test_create_tmpPetri Lehtinen2012-09-012-5/+8
|
* #12776,#11839: call argparse type function only once.R David Murray2012-09-014-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 Nelson2012-08-311-4/+4
|
* Issue #15825: fix typo in OrderedDict docs.Andrew Svetlov2012-08-312-1/+2
| | | | Patch by Mike Hoy.
* Issue #15819: Fix out-of-tree builds from a readonly source.Trent Nelson2012-08-304-4/+62
|
* Issue #15800: fix the closing of input / output files when gzip is used as a ↵Antoine Pitrou2012-08-291-2/+2
| | | | script.
* Add missing comma.Ezio Melotti2012-08-291-1/+1
|
* use the stricter PyMapping_Check (closes #15801)Benjamin Peterson2012-08-283-2/+7
|
* - fix paste error (whitespace) from previous commitMatthias Klose2012-08-281-1/+1
|
* - Issue #15591: Fix parsing MAKEFLAGS in the sharedmods target.Matthias Klose2012-08-281-4/+8
|
* #11964: Document a change in v3.2 to the json indent parameterPetri Lehtinen2012-08-282-4/+15
|
* Fix a JSON doc typoPetri Lehtinen2012-08-271-1/+1
|
* #15788: fix broken links in subprocess doc. Patch by Chris Rebert.Ezio Melotti2012-08-271-2/+2
|
* Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is ↵Ronald Oussoren2012-08-255-7/+128
| | | | compiled using the clang compiler
* Fix wrong way of adding Error information in shutil.copytree.Georg Brandl2012-08-251-1/+1
|
* Remove overeager test (don't depend on the sign of a nan; cf. issue #14521)Mark Dickinson2012-08-241-4/+0
|
* Remove incorrect lines (meant for cdecimal) from recently added Decimal tests.Mark Dickinson2012-08-241-2/+0
|
* Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.Mark Dickinson2012-08-243-1/+25
|