]> granicus.if.org Git - python/log
python
11 years agomerge
Raymond Hettinger [Sun, 6 Oct 2013 05:11:43 +0000 (22:11 -0700)]
merge

11 years agoIssue 14927: Remove a docstring line that is no longer applicable.
Raymond Hettinger [Sun, 6 Oct 2013 05:11:16 +0000 (22:11 -0700)]
Issue 14927: Remove a docstring line that is no longer applicable.

11 years agoMinor clean-up of function parameters in random().
Raymond Hettinger [Sun, 6 Oct 2013 04:52:06 +0000 (21:52 -0700)]
Minor clean-up of function parameters in random().

11 years agoMinor clean-up of function parameters in random().
Raymond Hettinger [Sun, 6 Oct 2013 04:48:21 +0000 (21:48 -0700)]
Minor clean-up of function parameters in random().

11 years agomerge
Raymond Hettinger [Sun, 6 Oct 2013 00:20:18 +0000 (17:20 -0700)]
merge

11 years agoIssue #19169: Micro refactoring with a micro benefit for brevity and speed.
Raymond Hettinger [Sun, 6 Oct 2013 00:18:36 +0000 (17:18 -0700)]
Issue #19169:  Micro refactoring with a micro benefit for brevity and speed.

11 years agoStrengthen one of the collections.Counter() tests
Raymond Hettinger [Sun, 6 Oct 2013 00:14:51 +0000 (17:14 -0700)]
Strengthen one of the collections.Counter() tests

11 years agoIssue #19171: speed some cases of 3-argument long pow().
Tim Peters [Sat, 5 Oct 2013 21:55:38 +0000 (16:55 -0500)]
Issue #19171:  speed some cases of 3-argument long pow().

Reduce the base by the modulus when the base is larger than
the modulus.  This can unboundedly speed the "startup costs"
of doing modular exponentiation, particularly in cases where
the base is much larger than the modulus.  Original patch
by Armin Rigo, inspired by https://github.com/pyca/ed25519.

Merged from 3.3.

11 years agoIssue #19171: speed some cases of 3-argument long pow().
Tim Peters [Sat, 5 Oct 2013 21:53:52 +0000 (16:53 -0500)]
Issue #19171:  speed some cases of 3-argument long pow().

Reduce the base by the modulus when the base is larger than
the modulus.  This can unboundedly speed the "startup costs"
of doing modular exponentiation, particularly in cases where
the base is much larger than the modulus.  Original patch
by Armin Rigo, inspired by https://github.com/pyca/ed25519.

11 years ago#19069: merge with 3.3.
Ezio Melotti [Sat, 5 Oct 2013 21:46:58 +0000 (00:46 +0300)]
#19069: merge with 3.3.

11 years ago#19069: use imperative mood in float object docstrings. Patch by Marco Buttu.
Ezio Melotti [Sat, 5 Oct 2013 21:45:11 +0000 (00:45 +0300)]
#19069: use imperative mood in float object docstrings.  Patch by Marco Buttu.

11 years ago#19068: merge with 3.3.
Ezio Melotti [Sat, 5 Oct 2013 21:39:44 +0000 (00:39 +0300)]
#19068: merge with 3.3.

11 years ago#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.
Ezio Melotti [Sat, 5 Oct 2013 21:39:18 +0000 (00:39 +0300)]
#19068: use imperative mood in complex object docstrings.  Patch by Marco Buttu.

11 years ago#19067: merge with 3.3.
Ezio Melotti [Sat, 5 Oct 2013 21:38:19 +0000 (00:38 +0300)]
#19067: merge with 3.3.

11 years ago#19067: use imperative mood in range object docstrings. Patch by Marco Buttu.
Ezio Melotti [Sat, 5 Oct 2013 21:36:45 +0000 (00:36 +0300)]
#19067: use imperative mood in range object docstrings.  Patch by Marco Buttu.

11 years agofix comment
Benjamin Peterson [Sat, 5 Oct 2013 20:28:04 +0000 (16:28 -0400)]
fix comment

11 years agoHopefully fix Windows compilation error following 499a96611baa
Antoine Pitrou [Sat, 5 Oct 2013 19:24:10 +0000 (21:24 +0200)]
Hopefully fix Windows compilation error following 499a96611baa

11 years agoIssue #19087: Improve bytearray allocation in order to allow cheap popping of data...
Antoine Pitrou [Sat, 5 Oct 2013 19:12:18 +0000 (21:12 +0200)]
Issue #19087: Improve bytearray allocation in order to allow cheap popping of data at the front (slice deletion).

11 years ago[issue 19152] Add versionadded for ExtensionFileLoader.get_filename().
Eric Snow [Sat, 5 Oct 2013 02:35:34 +0000 (20:35 -0600)]
[issue 19152] Add versionadded for ExtensionFileLoader.get_filename().

11 years ago[issue 19152] Ensure we have actually registered ExtensionFileLoader as an ExecutionL...
Eric Snow [Sat, 5 Oct 2013 02:28:52 +0000 (20:28 -0600)]
[issue 19152] Ensure we have actually registered ExtensionFileLoader as an ExecutionLoader.

11 years agoAdd missing comma.
Ezio Melotti [Sat, 5 Oct 2013 01:26:06 +0000 (04:26 +0300)]
Add missing comma.

11 years ago#19148: fix markup errors and wording in enum docs. Patch by Esa Peuha.
Ezio Melotti [Sat, 5 Oct 2013 01:13:18 +0000 (04:13 +0300)]
#19148: fix markup errors and wording in enum docs.  Patch by Esa Peuha.

11 years ago#19166: merge with 3.3.
Ezio Melotti [Sat, 5 Oct 2013 00:14:13 +0000 (03:14 +0300)]
#19166: merge with 3.3.

11 years ago#19166: use an unused var in a test. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 5 Oct 2013 00:07:03 +0000 (03:07 +0300)]
#19166: use an unused var in a test.  Patch by Vajrasky Kok.

11 years agomerge
Raymond Hettinger [Fri, 4 Oct 2013 23:52:39 +0000 (16:52 -0700)]
merge

11 years agoIssue #18594: Make the C code more closely match the pure python code.
Raymond Hettinger [Fri, 4 Oct 2013 23:51:02 +0000 (16:51 -0700)]
Issue #18594:  Make the C code more closely match the pure python code.

11 years agoIssue #16803: Run test.test_importlib.test_abc under both
Brett Cannon [Fri, 4 Oct 2013 18:47:14 +0000 (14:47 -0400)]
Issue #16803: Run test.test_importlib.test_abc under both
_frozen_importlib and source.

11 years agoIssue #18716: Deprecate the formatter module
Brett Cannon [Fri, 4 Oct 2013 15:38:59 +0000 (11:38 -0400)]
Issue #18716: Deprecate the formatter module

11 years agoMERGE: Close #19160: Inconsistent size for GIL release in hashlib
Jesus Cea [Fri, 4 Oct 2013 02:21:02 +0000 (04:21 +0200)]
MERGE: Close #19160: Inconsistent size for GIL release in hashlib

11 years agoClose #19160: Inconsistent size for GIL release in hashlib
Jesus Cea [Fri, 4 Oct 2013 02:20:37 +0000 (04:20 +0200)]
Close #19160: Inconsistent size for GIL release in hashlib

11 years agoMERGE: Close #19160: Inconsistent size for GIL release in hashlib
Jesus Cea [Fri, 4 Oct 2013 02:15:48 +0000 (04:15 +0200)]
MERGE: Close #19160: Inconsistent size for GIL release in hashlib

11 years agoClose #19160: Inconsistent size for GIL release in hashlib
Jesus Cea [Fri, 4 Oct 2013 02:15:06 +0000 (04:15 +0200)]
Close #19160: Inconsistent size for GIL release in hashlib

11 years agoNull merge with 3.3.
Eric Snow [Thu, 3 Oct 2013 21:16:03 +0000 (15:16 -0600)]
Null merge with 3.3.

11 years ago[issue19152] Revert 832579dbafd6.
Eric Snow [Thu, 3 Oct 2013 21:03:29 +0000 (15:03 -0600)]
[issue19152] Revert 832579dbafd6.

11 years agoFix typo.
Eric Snow [Thu, 3 Oct 2013 20:39:39 +0000 (14:39 -0600)]
Fix typo.

11 years agoFix typo.
Eric Snow [Thu, 3 Oct 2013 20:37:55 +0000 (14:37 -0600)]
Fix typo.

11 years agoMerge
Eric Snow [Thu, 3 Oct 2013 19:49:12 +0000 (13:49 -0600)]
Merge

11 years agoNull merge with 3.3.
Eric Snow [Thu, 3 Oct 2013 19:34:40 +0000 (13:34 -0600)]
Null merge with 3.3.

11 years agoRemove builtin "caching" in pprint
Antoine Pitrou [Thu, 3 Oct 2013 19:29:36 +0000 (21:29 +0200)]
Remove builtin "caching" in pprint

11 years ago[issue19151] Fix issue number in Misc/NEWS entry.
Eric Snow [Thu, 3 Oct 2013 18:45:04 +0000 (12:45 -0600)]
[issue19151] Fix issue number in Misc/NEWS entry.

11 years ago[issue19152] Add ExtensionFileLoader.get_filename().
Eric Snow [Thu, 3 Oct 2013 18:08:55 +0000 (12:08 -0600)]
[issue19152] Add ExtensionFileLoader.get_filename().

11 years ago[issue19152] Add ExtensionFileLoader.get_filename().
Eric Snow [Thu, 3 Oct 2013 18:08:55 +0000 (12:08 -0600)]
[issue19152] Add ExtensionFileLoader.get_filename().

11 years ago[issue19151] Fix docstring and use of _get_suppported_file_loaders() to reflect 2...
Eric Snow [Thu, 3 Oct 2013 18:08:55 +0000 (12:08 -0600)]
[issue19151] Fix docstring and use of _get_suppported_file_loaders() to reflect 2-tuples.

11 years ago[issue19951] Fix docstring and use of _get_suppported_file_loaders() to reflect 2...
Eric Snow [Thu, 3 Oct 2013 18:08:55 +0000 (12:08 -0600)]
[issue19951] Fix docstring and use of _get_suppported_file_loaders() to reflect 2-tuples.

11 years agoIssue #19014: memoryview.cast() is now allowed on zero-length views.
Antoine Pitrou [Thu, 3 Oct 2013 17:56:54 +0000 (19:56 +0200)]
Issue #19014: memoryview.cast() is now allowed on zero-length views.

11 years agoIssue #19014: memoryview.cast() is now allowed on zero-length views.
Antoine Pitrou [Thu, 3 Oct 2013 17:55:41 +0000 (19:55 +0200)]
Issue #19014: memoryview.cast() is now allowed on zero-length views.

11 years agoIssue #18037: 2to3 now escapes '\u' and '\U' in native strings.
Serhiy Storchaka [Thu, 3 Oct 2013 09:10:49 +0000 (12:10 +0300)]
Issue #18037: 2to3 now escapes '\u' and '\U' in native strings.

11 years agoIssue #18037: 2to3 now escapes '\u' and '\U' in native strings.
Serhiy Storchaka [Thu, 3 Oct 2013 09:08:38 +0000 (12:08 +0300)]
Issue #18037: 2to3 now escapes '\u' and '\U' in native strings.

11 years agoIssue #19147: merge from 3.3
Ned Deily [Wed, 2 Oct 2013 19:22:05 +0000 (12:22 -0700)]
Issue #19147: merge from 3.3

11 years agoIssue #19147: Fix docstring for fcntl.flock to refer to correct man section.
Ned Deily [Wed, 2 Oct 2013 19:20:46 +0000 (12:20 -0700)]
Issue #19147: Fix docstring for fcntl.flock to refer to correct man section.

11 years agoIssue #19132: Add versionchanged tags.
Serhiy Storchaka [Wed, 2 Oct 2013 18:40:21 +0000 (21:40 +0300)]
Issue #19132: Add versionchanged tags.

11 years agoUse cached builtins.
Serhiy Storchaka [Wed, 2 Oct 2013 16:15:54 +0000 (19:15 +0300)]
Use cached builtins.

11 years agoDrop buildbottouch again; the master is using "make touch" now.
Martin v. Löwis [Wed, 2 Oct 2013 14:59:23 +0000 (16:59 +0200)]
Drop buildbottouch again; the master is using "make touch" now.

11 years agoClose #17839: support bytes-like objects in base64 module
Nick Coghlan [Wed, 2 Oct 2013 14:43:22 +0000 (00:43 +1000)]
Close #17839: support bytes-like objects in base64 module

This mostly affected the encodebytes and decodebytes function
(which are used by base64_codec)

Also added a test to ensure all bytes-bytes codecs can handle
memoryview input and tests for handling of multidimensional
and non-bytes format input in the modern base64 API.

11 years agoMerge 3.3
Martin v. Löwis [Wed, 2 Oct 2013 14:59:41 +0000 (16:59 +0200)]
Merge 3.3

11 years agoTweak skipIf message
Brett Cannon [Wed, 2 Oct 2013 14:58:58 +0000 (10:58 -0400)]
Tweak skipIf message

11 years agoTry to fix issue #19134 again
Brett Cannon [Wed, 2 Oct 2013 14:25:42 +0000 (10:25 -0400)]
Try to fix issue #19134 again

11 years agoClose #18690: register memoryview with Sequence ABC
Nick Coghlan [Wed, 2 Oct 2013 12:31:47 +0000 (22:31 +1000)]
Close #18690: register memoryview with Sequence ABC

11 years agoClose #19078: memoryview now supports reversed
Nick Coghlan [Wed, 2 Oct 2013 12:06:54 +0000 (22:06 +1000)]
Close #19078: memoryview now supports reversed

Patch by Claudiu Popa

11 years agoCloses #19139: Changed usage of __VENV_NAME__ and added __VENV_PROMPT__.
Vinay Sajip [Wed, 2 Oct 2013 10:36:16 +0000 (11:36 +0100)]
Closes #19139: Changed usage of __VENV_NAME__ and added __VENV_PROMPT__.

11 years agoIssue #19132: The pprint module now supports compact mode.
Serhiy Storchaka [Wed, 2 Oct 2013 08:56:18 +0000 (11:56 +0300)]
Issue #19132: The pprint module now supports compact mode.

11 years agoIssue #19137: The pprint module now correctly formats instances of set and
Serhiy Storchaka [Wed, 2 Oct 2013 08:43:30 +0000 (11:43 +0300)]
Issue #19137: The pprint module now correctly formats instances of set and
frozenset subclasses.

11 years agoIssue #19137: The pprint module now correctly formats instances of set and
Serhiy Storchaka [Wed, 2 Oct 2013 08:40:49 +0000 (11:40 +0300)]
Issue #19137: The pprint module now correctly formats instances of set and
frozenset subclasses.

11 years agomerge
Raymond Hettinger [Wed, 2 Oct 2013 04:38:37 +0000 (21:38 -0700)]
merge

11 years agoIssue #18594: Fix the fallback path in collections.Counter().
Raymond Hettinger [Wed, 2 Oct 2013 04:36:09 +0000 (21:36 -0700)]
Issue #18594:  Fix the fallback path in collections.Counter().

11 years agoClose #10042: functools.total_ordering now handles NotImplemented
Nick Coghlan [Tue, 1 Oct 2013 14:02:03 +0000 (00:02 +1000)]
Close #10042: functools.total_ordering now handles NotImplemented

(Patch by Katie Miller)

11 years agoMerge #19092 from 3.3
Nick Coghlan [Tue, 1 Oct 2013 13:28:00 +0000 (23:28 +1000)]
Merge #19092 from 3.3

11 years agoClose #19092: ExitStack now reraises exceptions from __exit__
Nick Coghlan [Tue, 1 Oct 2013 13:24:56 +0000 (23:24 +1000)]
Close #19092: ExitStack now reraises exceptions from __exit__

Report and patch by Hrvoje Nikšić

11 years agomerge
Raymond Hettinger [Tue, 1 Oct 2013 08:00:59 +0000 (01:00 -0700)]
merge

11 years agoIssue #18594: Fix the fast path for collections.Counter().
Raymond Hettinger [Tue, 1 Oct 2013 07:55:43 +0000 (00:55 -0700)]
Issue #18594: Fix the fast path for collections.Counter().

The path wasn't being taken due to an over-restrictive type check.

11 years agomerge from 3.3. Minor urllib.parse.rst docs fix.
Senthil Kumaran [Tue, 1 Oct 2013 05:12:51 +0000 (22:12 -0700)]
merge from 3.3. Minor urllib.parse.rst docs fix.

11 years agoMinor doc fix in urllib.parse.rst
Senthil Kumaran [Tue, 1 Oct 2013 05:12:16 +0000 (22:12 -0700)]
Minor doc fix in urllib.parse.rst

11 years agoIssue #12641: Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Antoine Pitrou [Mon, 30 Sep 2013 20:29:48 +0000 (22:29 +0200)]
Issue #12641: Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Patch by Oscar Benjamin.

11 years agoIssue #12641: Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Antoine Pitrou [Mon, 30 Sep 2013 20:28:10 +0000 (22:28 +0200)]
Issue #12641: Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Patch by Oscar Benjamin.

11 years agoAdd a "skull and crossbones" to Py_AddPendingCall.
Antoine Pitrou [Mon, 30 Sep 2013 19:38:49 +0000 (21:38 +0200)]
Add a "skull and crossbones" to Py_AddPendingCall.

11 years agoAdd a "skull and crossbones" to Py_AddPendingCall.
Antoine Pitrou [Mon, 30 Sep 2013 19:35:44 +0000 (21:35 +0200)]
Add a "skull and crossbones" to Py_AddPendingCall.

11 years agoIssue #19134: Make a test in inspect conditional on multiprocessing
Brett Cannon [Mon, 30 Sep 2013 19:21:09 +0000 (15:21 -0400)]
Issue #19134: Make a test in inspect conditional on multiprocessing
being available.

Thanks to Remi Pointel for the bug report.

11 years agoMerge 3.3
Martin v. Löwis [Mon, 30 Sep 2013 14:22:05 +0000 (16:22 +0200)]
Merge 3.3

11 years agoIssue #19106: Add buildbottouch target.
Martin v. Löwis [Mon, 30 Sep 2013 14:21:44 +0000 (16:21 +0200)]
Issue #19106: Add buildbottouch target.

11 years agoMerge 3.3
Martin v. Löwis [Mon, 30 Sep 2013 14:10:05 +0000 (16:10 +0200)]
Merge 3.3

11 years agoIssue #19106: Touch generated files to be 1s newer than their youngest source.
Martin v. Löwis [Mon, 30 Sep 2013 14:09:44 +0000 (16:09 +0200)]
Issue #19106: Touch generated files to be 1s newer than their youngest source.

11 years agomerge from 3.3
Senthil Kumaran [Mon, 30 Sep 2013 01:59:27 +0000 (18:59 -0700)]
merge from 3.3

11 years agoMinor code improvement. Review comment by Eric V. Smith
Senthil Kumaran [Mon, 30 Sep 2013 01:59:04 +0000 (18:59 -0700)]
Minor code improvement. Review comment by Eric V. Smith

11 years agoMerge 3.4.0a3 release changes.
Larry Hastings [Mon, 30 Sep 2013 00:13:32 +0000 (01:13 +0100)]
Merge 3.4.0a3 release changes.

11 years agoPost-version release cleanup.
Larry Hastings [Mon, 30 Sep 2013 00:09:55 +0000 (01:09 +0100)]
Post-version release cleanup.

11 years agoIssue #5845: In site.py, only load readline history from ~/.python_history if no...
Antoine Pitrou [Sun, 29 Sep 2013 20:18:38 +0000 (22:18 +0200)]
Issue #5845: In site.py, only load readline history from ~/.python_history if no history has been read already.  This avoids double writes to the history file at shutdown.

11 years agorename some more tests to avoid duplicate names (#19123)
Benjamin Peterson [Sun, 29 Sep 2013 19:18:43 +0000 (15:18 -0400)]
rename some more tests to avoid duplicate names (#19123)

11 years agomerge heads
Benjamin Peterson [Sun, 29 Sep 2013 19:00:35 +0000 (15:00 -0400)]
merge heads

11 years agomerge 3.3
Benjamin Peterson [Sun, 29 Sep 2013 18:59:19 +0000 (14:59 -0400)]
merge 3.3

11 years agomerge heads
Benjamin Peterson [Sun, 29 Sep 2013 18:56:10 +0000 (14:56 -0400)]
merge heads

11 years agomerge 3.3
Benjamin Peterson [Sun, 29 Sep 2013 18:49:26 +0000 (14:49 -0400)]
merge 3.3

11 years agoremove unused imports
Benjamin Peterson [Sun, 29 Sep 2013 18:49:17 +0000 (14:49 -0400)]
remove unused imports

11 years agoIssue #19128: Remove nonfunctional, unused Mac help indexing tool from repo.
Ned Deily [Sun, 29 Sep 2013 18:46:50 +0000 (11:46 -0700)]
Issue #19128: Remove nonfunctional, unused Mac help indexing tool from repo.

11 years agoProperly initialize all fields of a SSL object after allocation.
Antoine Pitrou [Sun, 29 Sep 2013 17:53:45 +0000 (19:53 +0200)]
Properly initialize all fields of a SSL object after allocation.

11 years agoProperly initialize all fields of a SSL object after allocation.
Antoine Pitrou [Sun, 29 Sep 2013 17:52:45 +0000 (19:52 +0200)]
Properly initialize all fields of a SSL object after allocation.

11 years agoIssue #19095: SSLSocket.getpeercert() now raises ValueError when the SSL handshake...
Antoine Pitrou [Sun, 29 Sep 2013 17:50:53 +0000 (19:50 +0200)]
Issue #19095: SSLSocket.getpeercert() now raises ValueError when the SSL handshake hasn't been done.

11 years agoIssue #19130: mention historic VS 2008 build dir, too
Christian Heimes [Sun, 29 Sep 2013 17:10:18 +0000 (19:10 +0200)]
Issue #19130: mention historic VS 2008 build dir, too

11 years agoIssue #19130: mention historic VS 2008 build dir, too
Christian Heimes [Sun, 29 Sep 2013 17:10:07 +0000 (19:10 +0200)]
Issue #19130: mention historic VS 2008 build dir, too

11 years agoIssue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010
Christian Heimes [Sun, 29 Sep 2013 17:05:23 +0000 (19:05 +0200)]
Issue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010

11 years agoIssue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010
Christian Heimes [Sun, 29 Sep 2013 17:02:35 +0000 (19:02 +0200)]
Issue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010