summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add changelogBenjamin Peterson2012-11-291-0/+4
|
* enumerate only requires an iterable (closes #16573)Benjamin Peterson2012-11-292-6/+18
| | | | Patch by Jonathan Kotta.
* Issue #16477: Close tarfile internal handlers in case of exception.Andrew Svetlov2012-11-291-13/+11
| | | | Patch by Serhiy Storchaka.
* #16549: fix test failures on Windows.Ezio Melotti2012-11-291-2/+2
|
* #16476: Fix json.tool to avoid including trailing whitespace.Ezio Melotti2012-11-293-9/+12
|
* #16549: Make json.tool work again on Python 3 and add tests. Initial patch ↵Ezio Melotti2012-11-294-9/+84
| | | | by Berker Peksag and Serhiy Storchaka.
* #16333: document a way to get rid of trailing whitespace when indent is used.Ezio Melotti2012-11-283-6/+26
|
* Revert duplicate changes in argparse docs.Andrew Svetlov2012-11-281-15/+0
|
* Issue #11076: document the way to convert argparse.Namespace to a dict.Andrew Svetlov2012-11-281-0/+15
| | | | Initial patch by Virgil Dupras.
* Improve argument/parameter documentation (issue #15990).Chris Jerdonek2012-11-283-18/+99
| | | | | | This commit adds "parameter" to the glossary, improves and consolidates the "argument" glossary entry, and adds a question to the FAQ on the difference between arguments and parameters.
* Plug a leak in timemodule. The module dictionary is saved duringGregory P. Smith2012-11-272-1/+9
| | | | | | | | initialization. If the interpreter is shut down and reinitialized (embedded CPython), the old module dictionary was not dec-refed during the next import of the time extension module. Contributed by Torsten Marek of Google.
* #16556: Fix inconsistency between kwds and kwargs. Patch by Taavi Burns.Ezio Melotti2012-11-271-1/+1
|
* #16559: Add more tests for the json module. Patch by Serhiy Storchaka.Ezio Melotti2012-11-264-15/+47
|
* Add hyperlinks to the docs of some os.path functions (issue #16552).Chris Jerdonek2012-11-261-6/+9
|
* Closes #16521: Improved error handling for basicConfig(), added tests for same.Vinay Sajip2012-11-252-9/+168
|
* Issue #12848: The pure Python pickle implementation now treats object ↵Antoine Pitrou2012-11-243-14/+31
| | | | | | lengths as unsigned 32-bit integers, like the C implementation does. Patch by Serhiy Storchaka.
* Remove debug print.Ezio Melotti2012-11-231-4/+0
|
* #16530: the "options" arg of os.wait3 is required.Ezio Melotti2012-11-231-1/+1
|
* #16306: report only the first unknown option and add more tests. Patch by ↵Ezio Melotti2012-11-233-4/+17
| | | | Serhiy Storchaka.
* Remove unused variabile "plain" in builtin_exec.Ezio Melotti2012-11-211-2/+0
|
* Fix label in docs (from issue #13538).Chris Jerdonek2012-11-211-1/+1
|
* Improve str() and object.__str__() documentation (issue #13538).Chris Jerdonek2012-11-217-49/+101
|
* Issue #1160: Fix compiling large regular expressions on UCS2 builds.Antoine Pitrou2012-11-204-9/+17
| | | | Patch by Serhiy Storchaka.
* #7782: add a test for test_iter.Ezio Melotti2012-11-181-0/+15
|
* The poplib module provides two classes, not one.Antoine Pitrou2012-11-181-1/+1
|
* #16306: Fix multiple error messages when unknown command line parameters ↵Ezio Melotti2012-11-184-6/+17
| | | | where passed to the interpreter. Patch by Hieu Nguyen.
* #14313: zipfile now raises NotImplementedError when the compression type is ↵Ezio Melotti2012-11-183-0/+42
| | | | unknown.
* #16053: document csv.Dialect.strict. Patch by Kushal Das.Ezio Melotti2012-11-181-0/+5
|
* Typo fix.Mark Dickinson2012-11-181-1/+1
|
* Issue #12005: clarify behaviour of % and // for Decimal objects.Mark Dickinson2012-11-181-0/+23
|
* Issue #16408: Fix file descriptors not being closed in error conditions in ↵Antoine Pitrou2012-11-172-222/+208
| | | | | | the zipfile module. Patch by Serhiy Storchaka.
* #16420: document a way to escape metacharacters in glob/fnmatch.Ezio Melotti2012-11-172-2/+6
|
* Update section about dir() in the tutorial.Ezio Melotti2012-11-171-33/+41
|
* Rephrase a sentence in the set and dict comprehensions tutorial page.Ezio Melotti2012-11-171-3/+3
|
* Closes #16461: Wave library should be able to deal with 4GB wav files, and ↵Jesus Cea2012-11-172-6/+9
| | | | sample rate of 44100 Hz.
* #16478: use floor division in tabnanny and fix a ResourceWarning. Patch by ↵Ezio Melotti2012-11-161-8/+11
| | | | Serhiy Storchaka.
* don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)Philip Jenvey2012-11-141-5/+9
|
* Update the description of which package versions PyPI displays (issue #16400).Chris Jerdonek2012-11-142-3/+6
|
* add gc_collects to weakref testsPhilip Jenvey2012-11-131-0/+3
|
* Merge headsAntoine Pitrou2012-11-111-19/+18
|\
| * Refactor test_preexec_errpipe to not create an uncollectable reference cycle.Gregory P. Smith2012-11-111-19/+18
| |
* | Issue #16453: Fix equality testing of dead weakref objects.Antoine Pitrou2012-11-113-24/+93
|/ | | | Also add tests for ordering and hashing.
* Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵Nadeem Vawda2012-11-115-16/+22
| | | | | | mean 'no compression'. Patch by Brian Brazil.
* Fixes issue #16140: The subprocess module no longer double closes itsGregory P. Smith2012-11-113-3/+41
| | | | | | | | | child subprocess.PIPE parent file descriptors on child error prior to exec(). This would lead to race conditions in multithreaded programs where another thread opened a file reusing the fd which was then closed out from beneath it by the errant second close.
* Remove the subprocess "bad exception data" warning (formerly a print!)Gregory P. Smith2012-11-112-3/+5
| | | | | | | | all together and just include the repr of the data in the exception itself instead of the useless string "Unknown". This code path is unlikely to even be possible to take given the nature of the pipe it gets subprocess data from.
* Rename a local variable for readability and change a "this can'tGregory P. Smith2012-11-111-6/+8
| | | | | happen" print() call into a RuntimeWarning as it should've been in the first place. Because nothing should ever cause unexpected stdout output.
* Fixes issue #16327: The subprocess module no longer leaks file descriptorsGregory P. Smith2012-11-113-3/+53
| | | | used for stdin/stdout/stderr pipes to the child when fork() fails.
* move note to the right sectionGregory P. Smith2012-11-111-3/+3
|
* Fixes issue #14396: Handle the odd rare case of waitpid returning 0 whenGregory P. Smith2012-11-112-2/+9
| | | | not expected in subprocess.Popen.wait().
* Fixes issue #9535: Fix pending signals that have been received but notGregory P. Smith2012-11-112-0/+19
| | | | yet handled by Python to not persist after os.fork() in the child process.