Commit Graph

65811 Commits

Author SHA1 Message Date
Benjamin Peterson 71966058a8 fix spelling 2012-11-30 16:13:14 -05:00
Benjamin Peterson 8a1a17b309 Remove redundant check for symlink. (closes #6036)
Patch by Bruno Dupuis.
2012-11-30 16:12:15 -05:00
Chris Jerdonek 8da8268b1f Backport from 3.2: improve argument/parameter documentation (issue #15990).
The corresponding 3.x commits are 69d5d834c5cb, 40fd26a4206b, and
74d8a2a20c52.
2012-11-29 19:03:37 -08:00
Andrew Svetlov 07d126f0de merge heads 2012-11-29 19:52:21 +02:00
Andrew Svetlov 6a5c2e64d9 Issue #16194: document imp.load_dynamic problems
when read several extension modules from the same binary object file.
2012-11-29 19:51:28 +02:00
Benjamin Peterson 256aaf7b47 add changelog 2012-11-29 10:57:01 -05:00
Benjamin Peterson ed10a30ed6 enumerate only requires an iterable (closes #16573)
Patch by Jonathan Kotta.
2012-11-29 10:55:22 -05:00
Andrew Svetlov ac26a2e736 Issue #16477: Close tarfile internal handlers in case of exception.
Patch by Serhiy Storchaka.
2012-11-29 14:22:26 +02:00
Ezio Melotti 43acbf1fd6 #16549: fix test failures on Windows. 2012-11-29 05:08:54 +02:00
Ezio Melotti def6ee5979 #16476: Fix json.tool to avoid including trailing whitespace. 2012-11-29 02:22:49 +02:00
Ezio Melotti d8feba904c #16549: Add tests for json.tools. Initial patch by Berker Peksag and Serhiy Storchaka. 2012-11-29 02:14:52 +02:00
Stefan Krah 67473263a3 Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive. 2012-11-29 00:17:05 +01:00
Ezio Melotti 3a237ebcaa #16333: document a way to get rid of trailing whitespace when indent is used. 2012-11-29 00:22:30 +02:00
Gregory P. Smith 0d68ab3f48 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.
2012-11-27 10:19:29 -08:00
Ezio Melotti eff174b8b0 #16556: Fix inconsistency between kwds and kwargs. Patch by Taavi Burns. 2012-11-27 19:17:57 +02:00
Ezio Melotti 282d331ec7 #16559: Add more tests for the json module. Patch by Serhiy Storchaka. 2012-11-26 19:22:58 +02:00
Chris Jerdonek 55b4cfb992 Add hyperlinks to the docs of some os.path functions (issue #16552). 2012-11-25 20:35:23 -08:00
Mark Dickinson b1cc6aa2df Issue #9011: AST creation no longer modifies CST for negated numeric literals. 2012-11-25 17:11:33 +00:00
Mark Dickinson 1658797a9d Issue #16339: Document and test exec(stmt, globals, locals) form in Python 2.7. 2012-11-25 13:25:57 +00:00
Antoine Pitrou 508d7d356e test_winsound should require the "audio" resource, as it does on 3.x.
(this should fix some buildbot test failures)
2012-11-24 18:25:25 +01:00
Ezio Melotti 56913b7500 #16530: the "options" arg of os.wait3 is required. 2012-11-23 19:45:52 +02:00
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