Christian Heimes
8ca1d5f762
- Issue #16593 : Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
14 years ago
Benjamin Peterson
343d530d67
add changelog
14 years ago
Benjamin Peterson
57af38700a
enumerate only requires an iterable ( closes #16573 )
Patch by Jonathan Kotta.
14 years ago
Andrew Svetlov
718df1d638
Issue #16477 : Close tarfile internal handlers in case of exception.
Patch by Serhiy Storchaka.
14 years ago
Ezio Melotti
4927633ab6
#16549 : fix test failures on Windows.
14 years ago
Ezio Melotti
b32512ed9a
#16476 : Fix json.tool to avoid including trailing whitespace.
14 years ago
Ezio Melotti
057bcb4c6c
#16549 : Make json.tool work again on Python 3 and add tests. Initial patch by Berker Peksag and Serhiy Storchaka.
14 years ago
Ezio Melotti
d654dedbbb
#16333 : document a way to get rid of trailing whitespace when indent is used.
14 years ago
Andrew Svetlov
74120996f5
Revert duplicate changes in argparse docs.
14 years ago
Andrew Svetlov
e15cb61dde
Issue #11076 : document the way to convert argparse.Namespace to a dict.
Initial patch by Virgil Dupras.
14 years ago
Chris Jerdonek
c2a7fd60e1
Improve argument/parameter documentation (issue #15990 ).
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.
14 years ago
Gregory P. Smith
14b04cd350
Plug a leak in timemodule. The module dictionary is saved during
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.
14 years ago
Ezio Melotti
28c88f48f9
#16556 : Fix inconsistency between kwds and kwargs. Patch by Taavi Burns.
14 years ago
Ezio Melotti
8c52370403
#16559 : Add more tests for the json module. Patch by Serhiy Storchaka.
14 years ago
Chris Jerdonek
0b502ff33b
Add hyperlinks to the docs of some os.path functions (issue #16552 ).
14 years ago
Vinay Sajip
d27e05d734
Closes #16521 : Improved error handling for basicConfig(), added tests for same.
14 years ago
Antoine Pitrou
bf6ecf92fa
Issue #12848 : The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does.
Patch by Serhiy Storchaka.
14 years ago
Ezio Melotti
82e60de727
Remove debug print.
14 years ago
Ezio Melotti
ba4d8ed8f8
#16530 : the "options" arg of os.wait3 is required.
14 years ago
Ezio Melotti
a0dd22e5e8
#16306 : report only the first unknown option and add more tests. Patch by Serhiy Storchaka.
14 years ago
Ezio Melotti
3c76aa6b23
Remove unused variabile "plain" in builtin_exec.
14 years ago
Chris Jerdonek
777db2d838
Fix label in docs (from issue #13538 ).
14 years ago
Chris Jerdonek
17fc44c9b3
Improve str() and object.__str__() documentation (issue #13538 ).
14 years ago
Antoine Pitrou
39bdad813a
Issue #1160 : Fix compiling large regular expressions on UCS2 builds.
Patch by Serhiy Storchaka.
14 years ago
Ezio Melotti
4a1fdcf07d
#7782 : add a test for test_iter.
14 years ago
Antoine Pitrou
3813c9efb7
The poplib module provides two classes, not one.
14 years ago
Ezio Melotti
7c66319edc
#16306 : Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.
14 years ago
Ezio Melotti
6a5fc4c443
#14313 : zipfile now raises NotImplementedError when the compression type is unknown.
14 years ago
Ezio Melotti
a69be2803b
#16053 : document csv.Dialect.strict. Patch by Kushal Das.
14 years ago
Mark Dickinson
ec967246a1
Typo fix.
14 years ago
Mark Dickinson
a3f37408da
Issue #12005 : clarify behaviour of % and // for Decimal objects.
14 years ago
Antoine Pitrou
17babc5e97
Issue #16408 : Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.
14 years ago
Ezio Melotti
a39a22dc0b
#16420 : document a way to escape metacharacters in glob/fnmatch.
14 years ago
Ezio Melotti
52e855084d
Update section about dir() in the tutorial.
14 years ago
Ezio Melotti
89b03b0ec6
Rephrase a sentence in the set and dict comprehensions tutorial page.
14 years ago
Jesus Cea
e4b863982c
Closes #16461 : Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
14 years ago
Ezio Melotti
103f17ef91
#16478 : use floor division in tabnanny and fix a ResourceWarning. Patch by Serhiy Storchaka.
14 years ago
Philip Jenvey
b37ac8eaf6
don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)
14 years ago
Chris Jerdonek
f9e49eaefc
Update the description of which package versions PyPI displays (issue #16400 ).
14 years ago
Philip Jenvey
3acc7ef1c5
add gc_collects to weakref tests
14 years ago
Antoine Pitrou
cc7715f8ae
Merge heads
14 years ago
Antoine Pitrou
e11fecb5a9
Issue #16453 : Fix equality testing of dead weakref objects.
Also add tests for ordering and hashing.
14 years ago
Gregory P. Smith
e27faac45f
Refactor test_preexec_errpipe to not create an uncollectable reference cycle.
14 years ago
Nadeem Vawda
19e568d254
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
Patch by Brian Brazil.
14 years ago
Gregory P. Smith
12489d98e6
Fixes issue #16140 : The subprocess module no longer double closes its
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.
14 years ago
Gregory P. Smith
3aee222122
Remove the subprocess "bad exception data" warning (formerly a print!)
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.
14 years ago
Gregory P. Smith
f44c9da166
Rename a local variable for readability and change a "this can't
happen" print() call into a RuntimeWarning as it should've been in the
first place. Because nothing should ever cause unexpected stdout output.
14 years ago
Gregory P. Smith
3d8e776cd9
Fixes issue #16327 : The subprocess module no longer leaks file descriptors
used for stdin/stdout/stderr pipes to the child when fork() fails.
14 years ago
Gregory P. Smith
6f62b58134
move note to the right section
14 years ago
Gregory P. Smith
2ec82331b2
Fixes issue #14396 : Handle the odd rare case of waitpid returning 0 when
not expected in subprocess.Popen.wait().
14 years ago