Ezio Melotti
ec6486d52d
#16306 : report only the first unknown option and add more tests. Patch by Serhiy Storchaka.
2012-11-23 18:46:11 +02:00
Stefan Krah
0afe4e4fa6
Fix more usages of NULL without including stdio.h.
2012-11-22 23:56:51 +01:00
Stefan Krah
ae66ca6433
Issue #13057 : Include stdio.h when NULL is used in configure.ac.
2012-11-22 22:36:57 +01:00
Raymond Hettinger
0ec8f48b99
Remove steps no longer needed once __del__ was removed
2012-11-20 21:42:44 -08:00
Raymond Hettinger
ec5046b76b
Fit nit: the return got dropped from an earlier check-in
2012-11-20 21:11:26 -08:00
Antoine Pitrou
b83ea144cc
Issue #1160 : Fix compiling large regular expressions on UCS2 builds.
...
Patch by Serhiy Storchaka.
2012-11-20 22:30:42 +01:00
Stefan Krah
e78f12f7c2
Backport 9dd4638de73b.
2012-11-19 01:00:45 +01:00
Ezio Melotti
6451497df1
#7782 : add a test for test_iter.
2012-11-18 23:14:42 +02:00
Ezio Melotti
01560de287
#16503 : clarify "apply" docs.
2012-11-18 21:23:44 +02:00
Antoine Pitrou
9fab5ce662
The poplib module provides two classes, not one.
2012-11-18 18:37:02 +01:00
Ezio Melotti
db5947f0f3
#16306 : Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.
2012-11-18 13:46:38 +02:00
Ezio Melotti
9e94972eed
#14313 : zipfile now raises NotImplementedError when the compression type is unknown.
2012-11-18 13:18:06 +02:00
Ezio Melotti
355637be32
#16053 : document csv.Dialect.strict. Patch by Kushal Das.
2012-11-18 12:55:35 +02:00
Mark Dickinson
3c9181b927
Typo fix.
2012-11-18 10:41:29 +00:00
Mark Dickinson
0d18731815
Issue #12005 : clarify behaviour of % and // for Decimal objects.
2012-11-18 10:20:28 +00:00
Antoine Pitrou
02512fb1cf
Issue #16408 : Fix file descriptors not being closed in error conditions in the zipfile module.
...
Patch by Serhiy Storchaka.
2012-11-17 23:56:53 +01:00
Mark Dickinson
115bc79df8
Issue #9742 : Sneaky fix for build failure on Solaris 9.
2012-11-17 20:18:52 +00:00
Antoine Pitrou
e3ae321222
Issue #15379 : Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings).
...
Patch by Serhiy Storchaka.
2012-11-17 21:14:58 +01:00
Ezio Melotti
1df43d33d2
#16420 : document a way to escape metacharacters in glob/fnmatch.
2012-11-17 17:38:11 +02:00
Ezio Melotti
820f2bdaf9
Update section about dir() in the tutorial.
2012-11-17 12:46:40 +02:00
Ezio Melotti
9236a4e99d
#16470 : mention set and dict comprehension in the tutorial. Patch by Yongzhi Pan.
2012-11-17 12:02:30 +02:00
Jesus Cea
f34e4de3f5
Closes #16461 : Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
2012-11-17 03:38:17 +01:00
Georg Brandl
526b553608
Remove versionadded from the tutorial, at a location where it produces more questions than it answers.
2012-11-15 07:10:27 +01:00
Chris Jerdonek
080123119d
Backport from 3.2: update PyPI docs regarding listing versions (issue #16400 ).
2012-11-14 12:36:53 -08:00
Chris Jerdonek
9e173ebde2
Link to "XRange Type" section in xrange() built-in function documentation.
2012-11-14 02:13:28 -08:00
Stefan Krah
4a3a3f3bda
Backport 5db6d9ddf6e8.
2012-11-12 20:35:29 +01:00
Georg Brandl
8a0d58bb3d
Use 2.x "print" syntax for this example.
2012-11-12 19:25:55 +01:00
Antoine Pitrou
b704eab599
Issue #16453 : Fix equality testing of dead weakref objects.
...
Also add tests for hashing.
2012-11-11 19:36:51 +01:00
Gregory P. Smith
027d6fcebd
remove an obsolete comment
2012-11-11 10:13:06 -08:00
Gregory P. Smith
f047ba83e8
Refactor test_preexec_errpipe to not create an uncollectable reference cycle.
2012-11-11 09:49:02 -08:00
Nadeem Vawda
99f9b8df98
Issue #15677 : Also fix docstrings in zlib module.
2012-11-11 14:01:23 +01:00
Nadeem Vawda
04050b80b1
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 13:52:10 +01:00
Gregory P. Smith
c3197254ac
whitespace fix
2012-11-11 02:01:56 -08:00
Gregory P. Smith
211248b214
Fix issue #16140 bug that the fix to issue #16327 added - don't double
...
close subprocess.PIPE file descriptors when the child encounters an
error prior to exec.
2012-11-11 02:00:49 -08:00
Gregory P. Smith
9d3b6e9822
Fixes issue #16327 : The subprocess module no longer leaks file descriptors
...
used for stdin/stdout/stderr pipes to the child when fork() fails.
2012-11-10 22:49:03 -08:00
Gregory P. Smith
f2705aebb0
Fixes issue #14396 : Handle the odd rare case of waitpid returning 0
...
when not expected in subprocess.Popen.wait().
2012-11-10 21:13:20 -08:00
Gregory P. Smith
c1ce93a4ab
Fixes issue #9535 : Fix pending signals that have been received but not yet
...
handled by Python to not persist after os.fork() in the child process.
2012-11-10 20:38:17 -08:00
Nadeem Vawda
acfdfdafa2
Fix typo in backporting fix of issue #16411 to 2.7.
2012-11-11 03:28:21 +01:00
Nadeem Vawda
3c30970d29
Issue #16411 : Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
...
Patch by Serhiy Storchaka.
2012-11-11 03:14:56 +01:00
Nadeem Vawda
252f4dc6c9
Issue #16350 , part 2: Set unused_data (and unconsumed_tail) correctly in decompressobj().flush().
...
Additionally, fix a bug where a MemoryError in allocating a bytes object could
leave the decompressor object in an invalid state (with its unconsumed_tail
member being NULL).
Patch by Serhiy Storchaka.
2012-11-11 02:14:15 +01:00
Chris Jerdonek
67f089f860
Backport from 3.2: adjust set and frozenset function docs (issue #16436 ).
2012-11-09 19:12:02 -08:00
Chris Jerdonek
8523db71d7
Backport from 3.2: improve FAQ link in documentation (for issue #16435 ).
2012-11-09 18:04:00 -08:00
Chris Withers
2cc0b07a4c
Bug #16441 : avoid excessive memory usage working with large gzip files
2012-11-09 15:48:17 +00:00
Ezio Melotti
dc118790de
#13301 : use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. Patch by Serhiy Storchaka.
2012-11-09 11:46:19 +01:00
Ezio Melotti
090177676a
#16440 : fix exception type and clarify example.
2012-11-09 01:03:44 +02:00
Andrew Svetlov
3eb0e1da80
Issue #16439 : Fix markup in example for stdtypes.
...
Thanks to Yongzhi Pan.
2012-11-08 17:29:02 +02:00
Ezio Melotti
9b19c4bea9
#16433 : fix docstring of assertNotEqual.
2012-11-08 11:08:39 +02:00
Ezio Melotti
527b1499cc
#11481 : fix markup.
2012-11-08 11:02:58 +02:00
Ezio Melotti
b1c0e3b229
#11481 : update copy_reg docs and add example.
2012-11-08 10:59:03 +02:00
Ezio Melotti
26025d6385
#10385 : use the mod role in subprocess docs.
2012-11-08 10:07:10 +02:00