summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* #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 #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.
* Issue #15591 and Issue #11715: silence output of setup.py when make is run ↵Christian Heimes2012-09-070-0/+0
| | | | with -s option.
* Issue #15591 and Issue #11715: silence output of setup.py when make is run ↵Christian Heimes2012-09-071-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-067-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 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-056-12/+47
| | | | | 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-012-5/+8
|
* #13769: Enhance docs for ensure_ascii semantics in JSON decoding functionsPetri Lehtinen2012-09-014-23/+37
|
* #12776,#11839: call argparse type function only once.R David Murray2012-08-314-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
|
* Add missing comma.Ezio Melotti2012-08-291-1/+1
|
* Closes #15710: accept long in _checkLevel.Vinay Sajip2012-08-291-1/+1
|
* Merged upstream changes.Vinay Sajip2012-08-293-3/+16
|\
| * Issue #15765: Fix quirky NetBSD getcwd() behaviour.Trent Nelson2012-08-293-3/+16
| | | | | | | | | | This is done by extending a previous fix for issue #9185 that was made for Solaris and OpenBSD to NetBSD as well.
* | Closes #15807: Removed incorrect directive from help.Vinay Sajip2012-08-291-3/+0
|/
* use the stricter PyMapping_Check (closes #15801)Benjamin Peterson2012-08-284-2/+8
|
* - fix typo introduced in http://hg.python.org/cpython/rev/f918d4a06c64Matthias Klose2012-08-281-1/+1
|
* - fix paste error (whitespace) from previous commitMatthias Klose2012-08-281-2/+2
|
* - Issue #15591: Fix parsing MAKEFLAGS in the sharedmods target.Matthias Klose2012-08-281-4/+8
|
* #14880: Fix kwargs notation in csv.reader, .writer & .register_dialectHynek Schlawack2012-08-282-6/+9
| | | | Patch by Chris Rebert.
* #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-2/+0
|
* Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.Mark Dickinson2012-08-243-1/+23
|
* Add glossary referencesAntoine Pitrou2012-08-241-3/+3
|
* Issue #14674: Add a discussion of the json module's standard compliance.Antoine Pitrou2012-08-242-6/+119
| | | | Patch by Chris Rebert.
* Closes #9374: add back now-unused module attributes; removing them is a ↵Georg Brandl2012-08-241-0/+10
| | | | backward compatibility issue, since they have a public-seeming name.
* Issue #15645: Ensure 2to3 grammar pickles are properly installed.Ned Deily2012-08-222-3/+5
| | | | (Patch by Ronald Oussoren)
* Remove patch artifacts.Georg Brandl2012-08-211-2/+2
|
* #15199: Fix JavaScript's default MIME type to application/javascriptPetri Lehtinen2012-08-203-1/+5
|
* #15742: clarify sqlite parameter substitution example.R David Murray2012-08-201-1/+1
|
* Issue #15741: Fix potential NULL dereference. Found by Coverity.Stefan Krah2012-08-201-0/+2
|
* #13579: minimize code base drift for 'a' string.Formatter change.R David Murray2012-08-192-9/+10
| | | | | | 2.7 doesn't support 'a'. This changeset ports the doc change and clause-reording portions of Francisco Martín Brugué patch in order to minimize code base drift.
* Issue #15615: Add some tests for the json module's handling of invalid input ↵Antoine Pitrou2012-08-183-0/+13
| | | | | | data. Patch by Kushal Das.
* Add workaround for log1p(-0.0) on platforms where it's broken.Mark Dickinson2012-08-183-6/+28
|
* Fix typo in tutorialEli Bendersky2012-08-181-1/+1
|
* Issue #15586: porting ET's new documentation bits to 2.7. Patch by Daniel EllisEli Bendersky2012-08-181-7/+308
|
* #15355: Mention already-executing Exception in generator docs.R David Murray2012-08-171-2/+9
| | | | Patch by Chris Jerdonek.
* Issue 15660: Clarify 0 prefix for width field in str.format doc.Terry Jan Reedy2012-08-171-3/+3
|
* Issue #15412: Remove erroneous note about weakrefsRichard Oudkerk2012-08-171-6/+0
|
* Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou2012-08-1511-52/+112
| | | | | | errors correctly. Patch by Serhiy Storchaka.
* clarify in/not in in case of infinite iterators; thanks to Sergey ↵Sandro Tosi2012-08-151-2/+2
| | | | Skovorodkin from docs@
* #15543: reflow paragraphs.R David Murray2012-08-157-49/+47
|
* #15543: glossary entry for and 'universal newlines', and links to it.R David Murray2012-08-1513-26/+78
| | | | Patch by Chris Jerdonek.
* #11062: Fix adding a message from file to Babyl mailboxPetri Lehtinen2012-08-153-1/+16
|
* #15269: document dircmp.left and right.R David Murray2012-08-141-0/+25
| | | | Based on patch by Chris Jerdonek.