]> granicus.if.org Git - python/log
python
12 years ago#16476: merge with 3.2.
Ezio Melotti [Thu, 29 Nov 2012 00:26:15 +0000 (02:26 +0200)]
#16476: merge with 3.2.

12 years ago#16476: Fix json.tool to avoid including trailing whitespace.
Ezio Melotti [Thu, 29 Nov 2012 00:25:03 +0000 (02:25 +0200)]
#16476: Fix json.tool to avoid including trailing whitespace.

12 years ago#16549: merge with 3.2.
Ezio Melotti [Thu, 29 Nov 2012 00:16:58 +0000 (02:16 +0200)]
#16549: merge with 3.2.

12 years ago#16549: Make json.tool work again on Python 3 and add tests. Initial patch by Berker...
Ezio Melotti [Thu, 29 Nov 2012 00:15:18 +0000 (02:15 +0200)]
#16549: Make json.tool work again on Python 3 and add tests.  Initial patch by Berker Peksag and Serhiy Storchaka.

12 years ago#16333: merge with 3.2.
Ezio Melotti [Wed, 28 Nov 2012 22:36:42 +0000 (00:36 +0200)]
#16333: merge with 3.2.

12 years ago#16333: document a way to get rid of trailing whitespace when indent is used.
Ezio Melotti [Wed, 28 Nov 2012 22:35:29 +0000 (00:35 +0200)]
#16333: document a way to get rid of trailing whitespace when indent is used.

12 years agoRevert duplicate changes in argparse docs.
Andrew Svetlov [Wed, 28 Nov 2012 17:24:31 +0000 (19:24 +0200)]
Revert duplicate changes in argparse docs.

12 years agoRevert duplicate changes in argparse docs.
Andrew Svetlov [Wed, 28 Nov 2012 17:23:52 +0000 (19:23 +0200)]
Revert duplicate changes in argparse docs.

12 years agoMerge issue #11076: document the way to convert argparse.Namespace to a dict.
Andrew Svetlov [Wed, 28 Nov 2012 17:18:09 +0000 (19:18 +0200)]
Merge issue #11076: document the way to convert argparse.Namespace to a dict.

Initial patch by Virgil Dupras.

12 years agoIssue #11076: document the way to convert argparse.Namespace to a dict.
Andrew Svetlov [Wed, 28 Nov 2012 17:17:26 +0000 (19:17 +0200)]
Issue #11076: document the way to convert argparse.Namespace to a dict.

Initial patch by Virgil Dupras.

12 years agoMerge heads.
Chris Jerdonek [Wed, 28 Nov 2012 10:45:34 +0000 (02:45 -0800)]
Merge heads.

12 years agoMerge from 3.2: improve argument/parameter documentation (issue #15990).
Chris Jerdonek [Wed, 28 Nov 2012 10:37:42 +0000 (02:37 -0800)]
Merge from 3.2: improve argument/parameter documentation (issue #15990).

12 years agoIssue #16323: Fix wrong C API documentation for locale encoding.
Andrew Svetlov [Wed, 28 Nov 2012 10:33:58 +0000 (12:33 +0200)]
Issue #16323: Fix wrong C API documentation for locale encoding.

Patch by Berker Peksag.

12 years agoImprove argument/parameter documentation (issue #15990).
Chris Jerdonek [Wed, 28 Nov 2012 10:29:33 +0000 (02:29 -0800)]
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.

12 years agoAdd a str class entry to the "Text Sequence Type" section (issue #16209).
Chris Jerdonek [Wed, 28 Nov 2012 09:38:40 +0000 (01:38 -0800)]
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.

12 years agonull merge (3.3 is different)
Gregory P. Smith [Tue, 27 Nov 2012 18:18:40 +0000 (10:18 -0800)]
null merge (3.3 is different)

12 years agoPlug a leak in timemodule. The module dictionary is saved during
Gregory P. Smith [Tue, 27 Nov 2012 18:16:55 +0000 (10:16 -0800)]
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.

12 years ago#16556: merge with 3.2.
Ezio Melotti [Tue, 27 Nov 2012 17:18:47 +0000 (19:18 +0200)]
#16556: merge with 3.2.

12 years ago#16556: Fix inconsistency between kwds and kwargs. Patch by Taavi Burns.
Ezio Melotti [Tue, 27 Nov 2012 17:17:57 +0000 (19:17 +0200)]
#16556: Fix inconsistency between kwds and kwargs.  Patch by Taavi Burns.

12 years ago#16559: merge with 3.2.
Ezio Melotti [Mon, 26 Nov 2012 17:27:02 +0000 (19:27 +0200)]
#16559: merge with 3.2.

12 years ago#16559: Add more tests for the json module. Patch by Serhiy Storchaka.
Ezio Melotti [Mon, 26 Nov 2012 17:24:20 +0000 (19:24 +0200)]
#16559: Add more tests for the json module.  Patch by Serhiy Storchaka.

12 years agoMerge from 3.2: add hyperlinks to some os.path function docs (issue #16552).
Chris Jerdonek [Mon, 26 Nov 2012 04:40:57 +0000 (20:40 -0800)]
Merge from 3.2: add hyperlinks to some os.path function docs (issue #16552).

12 years agoAdd hyperlinks to the docs of some os.path functions (issue #16552).
Chris Jerdonek [Mon, 26 Nov 2012 04:38:01 +0000 (20:38 -0800)]
Add hyperlinks to the docs of some os.path functions (issue #16552).

12 years agoNull merge for fix for #16521.
Vinay Sajip [Sun, 25 Nov 2012 15:17:01 +0000 (15:17 +0000)]
Null merge for fix for #16521.

12 years agoCloses #16521: Improved error handling for basicConfig(), added tests for same.
Vinay Sajip [Sun, 25 Nov 2012 15:11:46 +0000 (15:11 +0000)]
Closes #16521: Improved error handling for basicConfig(), added tests for same.

12 years agoIssue #16546: make ast.YieldFrom argument mandatory.
Mark Dickinson [Sun, 25 Nov 2012 14:36:26 +0000 (14:36 +0000)]
Issue #16546: make ast.YieldFrom argument mandatory.

12 years agoIssue #12848: The pure Python pickle implementation now treats object lengths as...
Antoine Pitrou [Sat, 24 Nov 2012 19:41:34 +0000 (20:41 +0100)]
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.

12 years agoIssue #12848: The pure Python pickle implementation now treats object lengths as...
Antoine Pitrou [Sat, 24 Nov 2012 19:40:21 +0000 (20:40 +0100)]
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.

12 years agoMerge debug print removal with 3.2.
Ezio Melotti [Fri, 23 Nov 2012 20:16:45 +0000 (22:16 +0200)]
Merge debug print removal with 3.2.

12 years agoRemove debug print.
Ezio Melotti [Fri, 23 Nov 2012 20:16:07 +0000 (22:16 +0200)]
Remove debug print.

12 years agoIssue #16519: Used os.path.abspath, removed unnecessary code for executable_name.
Vinay Sajip [Fri, 23 Nov 2012 19:16:49 +0000 (19:16 +0000)]
Issue #16519: Used os.path.abspath, removed unnecessary code for executable_name.

12 years ago#16530: merge with 3.2.
Ezio Melotti [Fri, 23 Nov 2012 17:46:29 +0000 (19:46 +0200)]
#16530: merge with 3.2.

12 years ago#16530: the "options" arg of os.wait3 is required.
Ezio Melotti [Fri, 23 Nov 2012 17:45:52 +0000 (19:45 +0200)]
#16530: the "options" arg of os.wait3 is required.

12 years ago#16306: merge with 3.2.
Ezio Melotti [Fri, 23 Nov 2012 16:52:39 +0000 (18:52 +0200)]
#16306: merge with 3.2.

12 years ago#16306: report only the first unknown option and add more tests. Patch by Serhiy...
Ezio Melotti [Fri, 23 Nov 2012 16:48:32 +0000 (18:48 +0200)]
#16306: report only the first unknown option and add more tests.  Patch by Serhiy Storchaka.

12 years agoIssue #16538: correctly describe MAKE_CLOSURE in docs.
Andrew Svetlov [Fri, 23 Nov 2012 13:28:34 +0000 (15:28 +0200)]
Issue #16538: correctly describe MAKE_CLOSURE in docs.

Patch by Daniel Urban

12 years agoFix more usages of NULL without including stdio.h.
Stefan Krah [Thu, 22 Nov 2012 22:47:32 +0000 (23:47 +0100)]
Fix more usages of NULL without including stdio.h.

12 years agoIssue #13057: Include stdio.h when NULL is used in configure.ac.
Stefan Krah [Thu, 22 Nov 2012 21:49:11 +0000 (22:49 +0100)]
Issue #13057: Include stdio.h when NULL is used in configure.ac.

12 years agoAddress reviews for open’s opener argument doc patch (#13424).
Éric Araujo [Thu, 22 Nov 2012 05:13:49 +0000 (00:13 -0500)]
Address reviews for open’s opener argument doc patch (#13424).

* Remove example deemed not helpful.
* Simplify the other one.
* Add missing target to ref.

12 years agoNull merge with 3.2.
Ezio Melotti [Wed, 21 Nov 2012 16:36:52 +0000 (18:36 +0200)]
Null merge with 3.2.

12 years agoRemove unused variabile "plain" in builtin_exec.
Ezio Melotti [Wed, 21 Nov 2012 16:36:08 +0000 (18:36 +0200)]
Remove unused variabile "plain" in builtin_exec.

12 years agoNull merge from 3.2.
Chris Jerdonek [Wed, 21 Nov 2012 13:34:26 +0000 (05:34 -0800)]
Null merge from 3.2.

12 years agoFix label in docs (from issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 13:32:44 +0000 (05:32 -0800)]
Fix label in docs (from issue #13538).

12 years agoImprove str() and object.__str__() documentation (issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:45:51 +0000 (17:45 -0800)]
Improve str() and object.__str__() documentation (issue #13538).

12 years agoNull merge from 3.2 (issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:44:02 +0000 (17:44 -0800)]
Null merge from 3.2 (issue #13538).

12 years agoImprove str() and object.__str__() documentation (issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:31:02 +0000 (17:31 -0800)]
Improve str() and object.__str__() documentation (issue #13538).

12 years agonull merge
Barry Warsaw [Tue, 20 Nov 2012 22:11:46 +0000 (17:11 -0500)]
null merge

12 years agoDo a better job of preserving the state of sys.modules.
Barry Warsaw [Tue, 20 Nov 2012 22:10:10 +0000 (17:10 -0500)]
Do a better job of preserving the state of sys.modules.

12 years agoDo a better job of ensuring test reproducibility and clean up.
Barry Warsaw [Tue, 20 Nov 2012 22:05:41 +0000 (17:05 -0500)]
Do a better job of ensuring test reproducibility and clean up.

12 years agoMerge test from issue #1160.
Antoine Pitrou [Tue, 20 Nov 2012 21:35:53 +0000 (22:35 +0100)]
Merge test from issue #1160.

12 years agoIssue #1160: Fix compiling large regular expressions on UCS2 builds.
Antoine Pitrou [Tue, 20 Nov 2012 21:30:42 +0000 (22:30 +0100)]
Issue #1160: Fix compiling large regular expressions on UCS2 builds.
Patch by Serhiy Storchaka.

12 years ago- Issue #16514: Fix regression causing a traceback when sys.path[0] is None
Barry Warsaw [Tue, 20 Nov 2012 20:22:51 +0000 (15:22 -0500)]
- Issue #16514: Fix regression causing a traceback when sys.path[0] is None
  (actually, any non-string or non-bytes type).

12 years agoFix typo in multiprocessing documentation, thanks to Dmitry Tolstoy from docs@
Andrew Svetlov [Tue, 20 Nov 2012 14:12:38 +0000 (16:12 +0200)]
Fix typo in multiprocessing documentation, thanks to Dmitry Tolstoy from docs@

12 years agoBackport 9dd4638de73b.
Stefan Krah [Sun, 18 Nov 2012 23:54:05 +0000 (00:54 +0100)]
Backport 9dd4638de73b.

12 years ago#7782: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 21:15:47 +0000 (23:15 +0200)]
#7782: merge with 3.2.

12 years ago#7782: add a test for test_iter.
Ezio Melotti [Sun, 18 Nov 2012 21:14:42 +0000 (23:14 +0200)]
#7782: add a test for test_iter.

12 years agoThe poplib module provides two classes, not one.
Antoine Pitrou [Sun, 18 Nov 2012 17:37:24 +0000 (18:37 +0100)]
The poplib module provides two classes, not one.

12 years agoThe poplib module provides two classes, not one.
Antoine Pitrou [Sun, 18 Nov 2012 17:37:02 +0000 (18:37 +0100)]
The poplib module provides two classes, not one.

12 years ago#16306: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 12:02:08 +0000 (14:02 +0200)]
#16306: merge with 3.2.

12 years ago#16306: Fix multiple error messages when unknown command line parameters where passed...
Ezio Melotti [Sun, 18 Nov 2012 11:55:52 +0000 (13:55 +0200)]
#16306: Fix multiple error messages when unknown command line parameters where passed to the interpreter.  Patch by Hieu Nguyen.

12 years ago#14313: null merge.
Ezio Melotti [Sun, 18 Nov 2012 11:22:34 +0000 (13:22 +0200)]
#14313: null merge.

12 years ago#14313: zipfile now raises NotImplementedError when the compression type is unknown.
Ezio Melotti [Sun, 18 Nov 2012 11:20:36 +0000 (13:20 +0200)]
#14313: zipfile now raises NotImplementedError when the compression type is unknown.

12 years ago#16053: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 10:56:17 +0000 (12:56 +0200)]
#16053: merge with 3.2.

12 years ago#16053: document csv.Dialect.strict. Patch by Kushal Das.
Ezio Melotti [Sun, 18 Nov 2012 10:55:35 +0000 (12:55 +0200)]
#16053: document csv.Dialect.strict.  Patch by Kushal Das.

12 years agoMerge typo fix from 3.2.
Mark Dickinson [Sun, 18 Nov 2012 10:42:27 +0000 (10:42 +0000)]
Merge typo fix from 3.2.

12 years agoTypo fix.
Mark Dickinson [Sun, 18 Nov 2012 10:42:07 +0000 (10:42 +0000)]
Typo fix.

12 years agoIssue #12005: merge doc patch from 3.2
Mark Dickinson [Sun, 18 Nov 2012 10:22:40 +0000 (10:22 +0000)]
Issue #12005: merge doc patch from 3.2

12 years agoIssue #12005: clarify behaviour of % and // for Decimal objects.
Mark Dickinson [Sun, 18 Nov 2012 10:22:05 +0000 (10:22 +0000)]
Issue #12005: clarify behaviour of % and // for Decimal objects.

12 years agoIssue #16408: Fix file descriptors not being closed in error conditions in the zipfil...
Antoine Pitrou [Sat, 17 Nov 2012 22:52:05 +0000 (23:52 +0100)]
Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.

12 years agoIssue #16408: Fix file descriptors not being closed in error conditions in the zipfil...
Antoine Pitrou [Sat, 17 Nov 2012 22:50:08 +0000 (23:50 +0100)]
Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.

12 years agoIssue #16215: Fix potential double memory free in str.replace().
Antoine Pitrou [Sat, 17 Nov 2012 22:28:17 +0000 (23:28 +0100)]
Issue #16215: Fix potential double memory free in str.replace().
Patch by Serhiy Storchaka.

12 years ago#16157: fix links in the whatsnew files.
Ezio Melotti [Sat, 17 Nov 2012 17:29:12 +0000 (19:29 +0200)]
#16157: fix links in the whatsnew files.

12 years ago#16420: merge with 3.2.
Ezio Melotti [Sat, 17 Nov 2012 15:38:58 +0000 (17:38 +0200)]
#16420: merge with 3.2.

12 years ago#16420: document a way to escape metacharacters in glob/fnmatch.
Ezio Melotti [Sat, 17 Nov 2012 15:38:11 +0000 (17:38 +0200)]
#16420: document a way to escape metacharacters in glob/fnmatch.

12 years agoIssue #16489: Make it clearer that importlib.find_loader() requires
Brett Cannon [Sat, 17 Nov 2012 14:30:55 +0000 (09:30 -0500)]
Issue #16489: Make it clearer that importlib.find_loader() requires
the user to import any parent packages.

12 years agoMerge updates about dir() with 3.2.
Ezio Melotti [Sat, 17 Nov 2012 10:54:45 +0000 (12:54 +0200)]
Merge updates about dir() with 3.2.

12 years agoUpdate section about dir() in the tutorial.
Ezio Melotti [Sat, 17 Nov 2012 10:50:14 +0000 (12:50 +0200)]
Update section about dir() in the tutorial.

12 years agoMerge rephrasing with 3.2.
Ezio Melotti [Sat, 17 Nov 2012 10:06:26 +0000 (12:06 +0200)]
Merge rephrasing with 3.2.

12 years agoRephrase a sentence in the set and dict comprehensions tutorial page.
Ezio Melotti [Sat, 17 Nov 2012 10:06:01 +0000 (12:06 +0200)]
Rephrase a sentence in the set and dict comprehensions tutorial page.

12 years agoMERGE: Closes #16461: Wave library should be able to deal with 4GB wav files, and...
Jesus Cea [Sat, 17 Nov 2012 02:42:41 +0000 (03:42 +0100)]
MERGE: Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.

12 years agoCloses #16461: Wave library should be able to deal with 4GB wav files, and sample...
Jesus Cea [Sat, 17 Nov 2012 02:41:54 +0000 (03:41 +0100)]
Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.

12 years ago#16478: merge with 3.2.
Ezio Melotti [Fri, 16 Nov 2012 11:17:42 +0000 (13:17 +0200)]
#16478: merge with 3.2.

12 years ago#16478: use floor division in tabnanny and fix a ResourceWarning. Patch by Serhiy...
Ezio Melotti [Fri, 16 Nov 2012 11:17:08 +0000 (13:17 +0200)]
#16478: use floor division in tabnanny and fix a ResourceWarning.  Patch by Serhiy Storchaka.

12 years agoIssue #16481: multiprocessing no longer leaks process handles on Windows.
Richard Oudkerk [Thu, 15 Nov 2012 18:16:35 +0000 (18:16 +0000)]
Issue #16481: multiprocessing no longer leaks process handles on Windows.

12 years agoIssue #16144: Fix misleading sentence in reference/import.
Andrew Svetlov [Thu, 15 Nov 2012 14:28:21 +0000 (16:28 +0200)]
Issue #16144: Fix misleading sentence in reference/import.

Patch by Manuel Pégourié-Gonnard

12 years agomerge 3.2
Philip Jenvey [Wed, 14 Nov 2012 22:49:49 +0000 (14:49 -0800)]
merge 3.2

12 years agodon't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)
Philip Jenvey [Wed, 14 Nov 2012 22:37:24 +0000 (14:37 -0800)]
don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)

12 years agoMerge from 3.2: update the PyPI docs regarding listing versions (issue #16400).
Chris Jerdonek [Wed, 14 Nov 2012 20:24:21 +0000 (12:24 -0800)]
Merge from 3.2: update the PyPI docs regarding listing versions (issue #16400).

12 years agoUpdate the description of which package versions PyPI displays (issue #16400).
Chris Jerdonek [Wed, 14 Nov 2012 20:12:30 +0000 (12:12 -0800)]
Update the description of which package versions PyPI displays (issue #16400).

12 years agoIssue #16378: Updated docstrings to reflect the defaults present in the code.
Vinay Sajip [Wed, 14 Nov 2012 11:18:35 +0000 (11:18 +0000)]
Issue #16378: Updated docstrings to reflect the defaults present in the code.

12 years agomerge 3.2
Philip Jenvey [Tue, 13 Nov 2012 20:27:56 +0000 (12:27 -0800)]
merge 3.2

12 years agoadd gc_collects to weakref tests
Philip Jenvey [Tue, 13 Nov 2012 20:26:31 +0000 (12:26 -0800)]
add gc_collects to weakref tests

12 years agorecompile importlib.h
Benjamin Peterson [Mon, 12 Nov 2012 22:02:32 +0000 (17:02 -0500)]
recompile importlib.h

12 years agomissing letter
Benjamin Peterson [Mon, 12 Nov 2012 21:48:17 +0000 (16:48 -0500)]
missing letter

12 years agoIssue #15835: Define PATH_MAX on HP-UX.
Stefan Krah [Mon, 12 Nov 2012 19:14:36 +0000 (20:14 +0100)]
Issue #15835: Define PATH_MAX on HP-UX.

12 years agoIssue #16218, #16444: Backport improvment on tests for non-ASCII characters
Victor Stinner [Mon, 12 Nov 2012 00:23:15 +0000 (01:23 +0100)]
Issue #16218, #16444: Backport improvment on tests for non-ASCII characters

12 years agoAdd a test for hashing of unaligned memory buffers (from issue #16427).
Antoine Pitrou [Sun, 11 Nov 2012 19:10:48 +0000 (20:10 +0100)]
Add a test for hashing of unaligned memory buffers (from issue #16427).

12 years agoMerge heads
Antoine Pitrou [Sun, 11 Nov 2012 18:40:49 +0000 (19:40 +0100)]
Merge heads

12 years agoMerge heads
Antoine Pitrou [Sun, 11 Nov 2012 18:40:38 +0000 (19:40 +0100)]
Merge heads

12 years agoIssue #16453: Fix equality testing of dead weakref objects.
Antoine Pitrou [Sun, 11 Nov 2012 18:37:41 +0000 (19:37 +0100)]
Issue #16453: Fix equality testing of dead weakref objects.
Also add tests for ordering and hashing.