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
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.
2012-11-27 10:16:55 -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
28c88f48f9
#16556 : Fix inconsistency between kwds and kwargs. Patch by Taavi Burns.
2012-11-27 19:17:57 +02:00
Ezio Melotti
8c52370403
#16559 : Add more tests for the json module. Patch by Serhiy Storchaka.
2012-11-26 19:24:20 +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
0b502ff33b
Add hyperlinks to the docs of some os.path functions (issue #16552 ).
2012-11-25 20:38:01 -08: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
Vinay Sajip
d27e05d734
Closes #16521 : Improved error handling for basicConfig(), added tests for same.
2012-11-25 15:11:46 +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
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.
2012-11-24 20:40:21 +01: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
82e60de727
Remove debug print.
2012-11-23 22:16:07 +02:00
Ezio Melotti
56913b7500
#16530 : the "options" arg of os.wait3 is required.
2012-11-23 19:45:52 +02:00
Ezio Melotti
ba4d8ed8f8
#16530 : the "options" arg of os.wait3 is required.
2012-11-23 19:45:52 +02:00
Ezio Melotti
a0dd22e5e8
#16306 : report only the first unknown option and add more tests. Patch by Serhiy Storchaka.
2012-11-23 18:48:32 +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
Ezio Melotti
3c76aa6b23
Remove unused variabile "plain" in builtin_exec.
2012-11-21 18:36:08 +02:00
Chris Jerdonek
777db2d838
Fix label in docs (from issue #13538 ).
2012-11-21 05:32:44 -08: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
Chris Jerdonek
17fc44c9b3
Improve str() and object.__str__() documentation (issue #13538 ).
2012-11-20 17:31:02 -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
Antoine Pitrou
39bdad813a
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
4a1fdcf07d
#7782 : add a test for test_iter.
2012-11-18 23:14:42 +02: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
3813c9efb7
The poplib module provides two classes, not one.
2012-11-18 18:37:02 +01:00
Antoine Pitrou
9fab5ce662
The poplib module provides two classes, not one.
2012-11-18 18:37:02 +01:00
Ezio Melotti
7c66319edc
#16306 : Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.
2012-11-18 13:55:52 +02: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
6a5fc4c443
#14313 : zipfile now raises NotImplementedError when the compression type is unknown.
2012-11-18 13:20:36 +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
a69be2803b
#16053 : document csv.Dialect.strict. Patch by Kushal Das.
2012-11-18 12:55:35 +02:00
Ezio Melotti
355637be32
#16053 : document csv.Dialect.strict. Patch by Kushal Das.
2012-11-18 12:55:35 +02:00
Mark Dickinson
ec967246a1
Typo fix.
2012-11-18 10:42:07 +00:00
Mark Dickinson
3c9181b927
Typo fix.
2012-11-18 10:41:29 +00:00
Mark Dickinson
a3f37408da
Issue #12005 : clarify behaviour of % and // for Decimal objects.
2012-11-18 10:22:05 +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
Antoine Pitrou
17babc5e97
Issue #16408 : Fix file descriptors not being closed in error conditions in the zipfile module.
...
Patch by Serhiy Storchaka.
2012-11-17 23:50:08 +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
a39a22dc0b
#16420 : document a way to escape metacharacters in glob/fnmatch.
2012-11-17 17:38:11 +02:00
Ezio Melotti
1df43d33d2
#16420 : document a way to escape metacharacters in glob/fnmatch.
2012-11-17 17:38:11 +02:00
Ezio Melotti
52e855084d
Update section about dir() in the tutorial.
2012-11-17 12:50:14 +02:00