Commit graph

75856 commits

Author SHA1 Message Date
Ezio Melotti
def6ee5979 #16476: Fix json.tool to avoid including trailing whitespace. 2012-11-29 02:22:49 +02:00
Ezio Melotti
1e86d01e1e #16549: merge with 3.2. 2012-11-29 02:16:58 +02:00
Ezio Melotti
057bcb4c6c #16549: Make json.tool work again on Python 3 and add tests. Initial patch by Berker Peksag and Serhiy Storchaka. 2012-11-29 02:15:18 +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
57af3bf158 #16333: merge with 3.2. 2012-11-29 00:36:42 +02:00
Ezio Melotti
d654dedbbb #16333: document a way to get rid of trailing whitespace when indent is used. 2012-11-29 00:35:29 +02: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
Andrew Svetlov
eff1738e01 Revert duplicate changes in argparse docs. 2012-11-28 19:24:31 +02:00
Andrew Svetlov
74120996f5 Revert duplicate changes in argparse docs. 2012-11-28 19:23:52 +02:00
Andrew Svetlov
51292fff3f Merge issue #11076: document the way to convert argparse.Namespace to a dict.
Initial patch by Virgil Dupras.
2012-11-28 19:18:09 +02:00
Andrew Svetlov
e15cb61dde Issue #11076: document the way to convert argparse.Namespace to a dict.
Initial patch by Virgil Dupras.
2012-11-28 19:17:26 +02:00
Chris Jerdonek
1fb47587a1 Merge heads. 2012-11-28 02:45:34 -08:00
Chris Jerdonek
d97c71feda Merge from 3.2: improve argument/parameter documentation (issue #15990). 2012-11-28 02:37:42 -08:00
Andrew Svetlov
0fe030bb03 Issue #16323: Fix wrong C API documentation for locale encoding.
Patch by Berker Peksag.
2012-11-28 12:33:58 +02:00
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.
2012-11-28 02:29:33 -08:00
Chris Jerdonek
bb4e941c6d Add a str class entry to the "Text Sequence Type" section (issue #16209).
This commit also moves the documentation for the str built-in function to
the new class entry.  Links to :class:`str` now go to the class entry with
the string methods immediately afterwards.
2012-11-28 01:38:40 -08: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
Gregory P. Smith
21602183ce null merge (3.3 is different) 2012-11-27 10:18:40 -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
7768dd77c1 #16556: merge with 3.2. 2012-11-27 19:18:47 +02: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
c483034048 #16559: merge with 3.2. 2012-11-26 19:27:02 +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
3b39d35eeb Merge from 3.2: add hyperlinks to some os.path function docs (issue #16552). 2012-11-25 20:40:57 -08: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
367923b840 Null merge for fix for #16521. 2012-11-25 15:17:01 +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
ded35aeb9d Issue #16546: make ast.YieldFrom argument mandatory. 2012-11-25 14:36:26 +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
9982c53c2f 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:41:34 +01: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
9ab09d129e Merge debug print removal with 3.2. 2012-11-23 22:16:45 +02:00
Ezio Melotti
82e60de727 Remove debug print. 2012-11-23 22:16:07 +02:00
Vinay Sajip
27e4b6059e Issue #16519: Used os.path.abspath, removed unnecessary code for executable_name. 2012-11-23 19:16:49 +00:00
Ezio Melotti
44dcd6bcb2 #16530: merge with 3.2. 2012-11-23 19:46:29 +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
8a6d1fed41 #16306: merge with 3.2. 2012-11-23 18:52:39 +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
Andrew Svetlov
a5c430940c Issue #16538: correctly describe MAKE_CLOSURE in docs.
Patch by Daniel Urban
2012-11-23 15:28:34 +02:00
Stefan Krah
0afe4e4fa6 Fix more usages of NULL without including stdio.h. 2012-11-22 23:56:51 +01:00
Stefan Krah
19c2139d2d Fix more usages of NULL without including stdio.h. 2012-11-22 23:47:32 +01:00
Stefan Krah
7dba5940ae Issue #13057: Include stdio.h when NULL is used in configure.ac. 2012-11-22 22:49:11 +01:00