]> granicus.if.org Git - python/log
python
12 years agoIssue #10182: The re module doesn't truncate indices to 32 bits anymore.
Antoine Pitrou [Sun, 2 Dec 2012 11:55:12 +0000 (12:55 +0100)]
Issue #10182: The re module doesn't truncate indices to 32 bits anymore.
Patch by Serhiy Storchaka.

12 years agoIssue #10182: The re module doesn't truncate indices to 32 bits anymore.
Antoine Pitrou [Sun, 2 Dec 2012 11:54:28 +0000 (12:54 +0100)]
Issue #10182: The re module doesn't truncate indices to 32 bits anymore.
Patch by Serhiy Storchaka.

12 years agoIssue #10182: The re module doesn't truncate indices to 32 bits anymore.
Antoine Pitrou [Sun, 2 Dec 2012 11:52:36 +0000 (12:52 +0100)]
Issue #10182: The re module doesn't truncate indices to 32 bits anymore.
Patch by Serhiy Storchaka.

12 years agoIssue #16588: Silence unused-but-set warnings in Python/thread_pthread.h
Christian Heimes [Sun, 2 Dec 2012 07:39:23 +0000 (08:39 +0100)]
Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h

12 years agoIssue #16588: Silence unused-but-set warnings in Python/thread_pthread.h
Christian Heimes [Sun, 2 Dec 2012 07:38:42 +0000 (08:38 +0100)]
Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h

12 years agoIssue #16588: Silence unused-but-set warnings in Python/thread_pthread.h
Christian Heimes [Sun, 2 Dec 2012 07:37:00 +0000 (08:37 +0100)]
Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h

12 years agonull merge
Christian Heimes [Sun, 2 Dec 2012 07:26:02 +0000 (08:26 +0100)]
null merge

12 years agoIssue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
Christian Heimes [Sun, 2 Dec 2012 07:23:05 +0000 (08:23 +0100)]
Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf

12 years ago- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
Christian Heimes [Sun, 2 Dec 2012 07:14:50 +0000 (08:14 +0100)]
- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf

12 years agoIssue #16592: stringlib_bytes_join doesn't raise MemoryError on allocation failure
Christian Heimes [Sun, 2 Dec 2012 06:56:42 +0000 (07:56 +0100)]
Issue #16592: stringlib_bytes_join doesn't raise MemoryError on allocation failure

12 years agoHave BSD 'make -s' do the right thing, thanks to Daniel Shahaf
Christian Heimes [Sun, 2 Dec 2012 06:37:35 +0000 (07:37 +0100)]
Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf

12 years agoIssue #16590: remove obsolete compatibility code from the _json module.
Antoine Pitrou [Sat, 1 Dec 2012 18:34:16 +0000 (19:34 +0100)]
Issue #16590: remove obsolete compatibility code from the _json module.
Patch by Serhiy Storchaka.

12 years agoAdd Bruno Dupuis
Benjamin Peterson [Fri, 30 Nov 2012 21:15:24 +0000 (16:15 -0500)]
Add Bruno Dupuis

12 years agomerge 3.3 (#16573)
Benjamin Peterson [Thu, 29 Nov 2012 15:58:43 +0000 (10:58 -0500)]
merge 3.3 (#16573)

12 years agomerge 3.2
Benjamin Peterson [Thu, 29 Nov 2012 15:57:11 +0000 (10:57 -0500)]
merge 3.2

12 years agoadd changelog
Benjamin Peterson [Thu, 29 Nov 2012 15:57:01 +0000 (10:57 -0500)]
add changelog

12 years agomerge 3.2 (#16573)
Benjamin Peterson [Thu, 29 Nov 2012 15:56:11 +0000 (10:56 -0500)]
merge 3.2 (#16573)

12 years agoenumerate only requires an iterable (closes #16573)
Benjamin Peterson [Thu, 29 Nov 2012 15:55:22 +0000 (10:55 -0500)]
enumerate only requires an iterable (closes #16573)

Patch by Jonathan Kotta.

12 years agoMerge: remove redundant sentence from c-api docs (issue #16323)
Andrew Svetlov [Thu, 29 Nov 2012 13:23:46 +0000 (15:23 +0200)]
Merge: remove redundant sentence from c-api docs (issue #16323)

12 years agoRemove redundant sentence from c-api docs (issue #16323)
Andrew Svetlov [Thu, 29 Nov 2012 13:23:15 +0000 (15:23 +0200)]
Remove redundant sentence from c-api docs (issue #16323)

12 years agoMerge issue #16477: Close tarfile internal handlers in case of exception.
Andrew Svetlov [Thu, 29 Nov 2012 12:21:39 +0000 (14:21 +0200)]
Merge issue #16477: Close tarfile internal handlers in case of exception.

Patch by Serhiy Storchaka.

12 years agoMerge issue #16477: Close tarfile internal handlers in case of exception.
Andrew Svetlov [Thu, 29 Nov 2012 12:21:23 +0000 (14:21 +0200)]
Merge issue #16477: Close tarfile internal handlers in case of exception.

Patch by Serhiy Storchaka.

12 years agoIssue #16477: Close tarfile internal handlers in case of exception.
Andrew Svetlov [Thu, 29 Nov 2012 12:20:47 +0000 (14:20 +0200)]
Issue #16477: Close tarfile internal handlers in case of exception.

Patch by Serhiy Storchaka.

12 years ago#16549: merge with 3.3.
Ezio Melotti [Thu, 29 Nov 2012 03:10:45 +0000 (05:10 +0200)]
#16549: merge with 3.3.

12 years ago#16549: merge with 3.2.
Ezio Melotti [Thu, 29 Nov 2012 03:10:31 +0000 (05:10 +0200)]
#16549: merge with 3.2.

12 years ago#16549: fix test failures on Windows.
Ezio Melotti [Thu, 29 Nov 2012 03:10:07 +0000 (05:10 +0200)]
#16549: fix test failures on Windows.

12 years ago#16333: add Misc/NEWS entry for e63ac05ccfa8.
Ezio Melotti [Thu, 29 Nov 2012 00:33:21 +0000 (02:33 +0200)]
#16333: add Misc/NEWS entry for e63ac05ccfa8.

12 years ago#16476: null merge with 3.3.
Ezio Melotti [Thu, 29 Nov 2012 00:27:26 +0000 (02:27 +0200)]
#16476: null merge with 3.3.

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.3.
Ezio Melotti [Thu, 29 Nov 2012 00:18:34 +0000 (02:18 +0200)]
#16549: merge with 3.3.

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 agoCleanup json decoder: float() has builtin support of nan, +inf, -inf since Python 2.6
Victor Stinner [Wed, 28 Nov 2012 23:12:40 +0000 (00:12 +0100)]
Cleanup json decoder: float() has builtin support of nan, +inf, -inf since Python 2.6

12 years ago#16333: fix example in docstring.
Ezio Melotti [Wed, 28 Nov 2012 22:45:22 +0000 (00:45 +0200)]
#16333: fix example in docstring.

12 years ago#16333: use (",", ": ") as default separator when indent is specified to avoid traili...
Ezio Melotti [Wed, 28 Nov 2012 22:42:56 +0000 (00:42 +0200)]
#16333: use (",", ": ") as default separator when indent is specified to avoid trailing whitespace.  Patch by Serhiy Storchaka.

12 years ago#16333: null merge with 3.3.
Ezio Melotti [Wed, 28 Nov 2012 22:37:52 +0000 (00:37 +0200)]
#16333: null merge with 3.3.

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:44 +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: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:25 +0000 (19:18 +0200)]
Merge issue #11076: document the way to convert argparse.Namespace to a dict.

Initial patch by Virgil Dupras.

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 agoNull merge from 3.3.
Chris Jerdonek [Wed, 28 Nov 2012 10:47:45 +0000 (02:47 -0800)]
Null merge from 3.3.

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

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

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

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 agoMerge issue #16323: Fix wrong C API documentation for locale encoding.
Andrew Svetlov [Wed, 28 Nov 2012 10:34:27 +0000 (12:34 +0200)]
Merge issue #16323: Fix wrong C API documentation for locale encoding.

Patch by Berker Peksag.

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 agoMerge from 3.3: Add a str class entry to the string section (issue #16209).
Chris Jerdonek [Wed, 28 Nov 2012 09:45:15 +0000 (01:45 -0800)]
Merge from 3.3: Add a str class entry to the string 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 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 agoIssue #16464: reset Request's Content-Length header on .data change.
Andrew Svetlov [Tue, 27 Nov 2012 21:06:19 +0000 (23:06 +0200)]
Issue #16464: reset Request's Content-Length header on .data change.
It will be recalculated on sending request to HTTP server.

Patch by Alexey Kachayev

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

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.3.
Ezio Melotti [Tue, 27 Nov 2012 17:19:01 +0000 (19:19 +0200)]
#16556: merge with 3.3.

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.3.
Ezio Melotti [Mon, 26 Nov 2012 17:27:58 +0000 (19:27 +0200)]
#16559: merge with 3.3.

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.3: add hyperlinks to some os.path function docs (issue #16552).
Chris Jerdonek [Mon, 26 Nov 2012 04:42:00 +0000 (20:42 -0800)]
Merge from 3.3: add hyperlinks to some os.path function docs (issue #16552).

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: merge fix from 3.3
Mark Dickinson [Sun, 25 Nov 2012 14:37:43 +0000 (14:37 +0000)]
Issue #16546: merge fix from 3.3

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:42:59 +0000 (20:42 +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: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 agoFix missing import (followup to #4473).
Antoine Pitrou [Sat, 24 Nov 2012 17:14:12 +0000 (18:14 +0100)]
Fix missing import (followup to #4473).

12 years agoIssue #16423: urllib.request now has support for ``data:`` URLs.
Antoine Pitrou [Sat, 24 Nov 2012 16:59:08 +0000 (17:59 +0100)]
Issue #16423: urllib.request now has support for ``data:`` URLs.
Patch by Mathias Panzenböck.

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

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 agoMerged upstream changes.
Vinay Sajip [Fri, 23 Nov 2012 19:22:39 +0000 (19:22 +0000)]
Merged upstream changes.

12 years agoCloses #16519: Merged fix from 3.3.
Vinay Sajip [Fri, 23 Nov 2012 19:21:46 +0000 (19:21 +0000)]
Closes #16519: Merged fix from 3.3.

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 agoIssue #4473: Add a POP3.stls() to switch a clear-text POP3 session into an encrypted...
Antoine Pitrou [Fri, 23 Nov 2012 19:13:48 +0000 (20:13 +0100)]
Issue #4473: Add a POP3.stls() to switch a clear-text POP3 session into an encrypted POP3 session, on supported servers.
Patch by Lorenzo Catucci.

12 years agoIssue #4473: Add a POP3.capa() method to query the capabilities advertised by the...
Antoine Pitrou [Fri, 23 Nov 2012 19:07:39 +0000 (20:07 +0100)]
Issue #4473: Add a POP3.capa() method to query the capabilities advertised by the POP3 server.
Patch by Lorenzo Catucci.

12 years agoIssue #4473: Ensure the socket is shutdown cleanly in POP3.close().
Antoine Pitrou [Fri, 23 Nov 2012 19:04:45 +0000 (20:04 +0100)]
Issue #4473: Ensure the socket is shutdown cleanly in POP3.close().
Patch by Lorenzo Catucci.

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

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.3.
Ezio Melotti [Fri, 23 Nov 2012 17:01:42 +0000 (19:01 +0200)]
#16306: merge with 3.3.

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 agoMerge issue #16538: correctly describe MAKE_CLOSURE in docs.
Andrew Svetlov [Fri, 23 Nov 2012 13:29:48 +0000 (15:29 +0200)]
Merge issue #16538: correctly describe MAKE_CLOSURE in docs.

Patch by Daniel Urban

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 ago#16309: avoid using deprecated method and turn docstring in a comment.
Ezio Melotti [Thu, 22 Nov 2012 23:51:20 +0000 (01:51 +0200)]
#16309: avoid using deprecated method and turn docstring in a comment.

12 years agoMerge 3.3.
Stefan Krah [Thu, 22 Nov 2012 22:50:25 +0000 (23:50 +0100)]
Merge 3.3.

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 agoMerge 3.3.
Stefan Krah [Thu, 22 Nov 2012 21:57:54 +0000 (22:57 +0100)]
Merge 3.3.

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 ago#16522: s/always 1/at most 1/.
R David Murray [Thu, 22 Nov 2012 11:22:41 +0000 (06:22 -0500)]
#16522: s/always 1/at most 1/.

Correction thanks to Joey Geralnik.