]> granicus.if.org Git - python/log
python
11 years agoIssue #18918: Removed non-existing topic from a list of available topics.
Serhiy Storchaka [Sun, 25 May 2014 10:04:46 +0000 (13:04 +0300)]
Issue #18918: Removed non-existing topic from a list of available topics.
The 'File objects' section was removed in Python 3.
Patch by Claudiu Popa.

11 years agoIssue #18918: Removed non-existing topic from a list of available topics.
Serhiy Storchaka [Sun, 25 May 2014 10:04:13 +0000 (13:04 +0300)]
Issue #18918: Removed non-existing topic from a list of available topics.
The 'File objects' section was removed in Python 3.
Patch by Claudiu Popa.

11 years agoIssue #20197: Added support for the WebP image type in the imghdr module.
Serhiy Storchaka [Sun, 25 May 2014 08:45:37 +0000 (11:45 +0300)]
Issue #20197: Added support for the WebP image type in the imghdr module.
Patch by Fabrice Aneche and Claudiu Popa.

11 years agoMerge with 3.4
Terry Jan Reedy [Sat, 24 May 2014 22:48:45 +0000 (18:48 -0400)]
Merge with 3.4

11 years agoIssue #21477: Idle htest: merge and modify run and runall; add many tests.
Terry Jan Reedy [Sat, 24 May 2014 22:48:18 +0000 (18:48 -0400)]
Issue #21477: Idle htest: merge and modify run and runall; add many tests.
Patch by Saimadhav Heblikar

11 years agoCleanup other stats formatting code in gcmodule.c
Antoine Pitrou [Sat, 24 May 2014 17:24:40 +0000 (19:24 +0200)]
Cleanup other stats formatting code in gcmodule.c

11 years agoIssue #21555: simplify code in gcmodule.c by using the pytime.h functions instead...
Antoine Pitrou [Sat, 24 May 2014 17:21:53 +0000 (19:21 +0200)]
Issue #21555: simplify code in gcmodule.c by using the pytime.h functions instead of trying to call time.time() via the C API.
Patch by Geoffrey Spear.

11 years agoRefactor precomputed constants in the ipaddress module (suggested by Charles-François)
Antoine Pitrou [Fri, 23 May 2014 22:32:29 +0000 (00:32 +0200)]
Refactor precomputed constants in the ipaddress module (suggested by Charles-François)

11 years agoIssue #21513: Speedup some properties of IP addresses (IPv4Address, IPv6Address)...
Antoine Pitrou [Fri, 23 May 2014 21:12:24 +0000 (23:12 +0200)]
Issue #21513: Speedup some properties of IP addresses (IPv4Address, IPv6Address) such as .is_private or .is_multicast.

11 years agoFixed new Tkinter tests added in issue #21522 with Tk 8.4.
Serhiy Storchaka [Fri, 23 May 2014 20:58:55 +0000 (23:58 +0300)]
Fixed new Tkinter tests added in issue #21522 with Tk 8.4.

11 years agoFixed new Tkinter tests added in issue #21522 with Tk 8.4.
Serhiy Storchaka [Fri, 23 May 2014 20:58:13 +0000 (23:58 +0300)]
Fixed new Tkinter tests added in issue #21522 with Tk 8.4.

11 years agoMerge for issue #14710
Brett Cannon [Fri, 23 May 2014 16:32:30 +0000 (12:32 -0400)]
Merge for issue #14710

11 years agoIssue #14710: Fix both pkgutil.find_loader() and get_loader() to not
Brett Cannon [Fri, 23 May 2014 16:30:37 +0000 (12:30 -0400)]
Issue #14710: Fix both pkgutil.find_loader() and get_loader() to not
raise an exception when a module doesn't exist.

Thanks to Pavel Aslanov for the bug report.

11 years agoIssue #21538: The plistlib module now supports loading of binary plist files
Serhiy Storchaka [Fri, 23 May 2014 13:15:06 +0000 (16:15 +0300)]
Issue #21538: The plistlib module now supports loading of binary plist files
when reference or offset size is not a power of two.

11 years agoIssue #21538: The plistlib module now supports loading of binary plist files
Serhiy Storchaka [Fri, 23 May 2014 13:13:33 +0000 (16:13 +0300)]
Issue #21538: The plistlib module now supports loading of binary plist files
when reference or offset size is not a power of two.

11 years agoMove NEWS entry to correct place.
Serhiy Storchaka [Fri, 23 May 2014 13:09:04 +0000 (16:09 +0300)]
Move NEWS entry to correct place.

11 years agoIssue #21522: Added Tkinter tests for Listbox.itemconfigure(),
Serhiy Storchaka [Fri, 23 May 2014 11:09:34 +0000 (14:09 +0300)]
Issue #21522: Added Tkinter tests for Listbox.itemconfigure(),
PanedWindow.paneconfigure(), and Menu.entryconfigure().

11 years agoIssue #21522: Added Tkinter tests for Listbox.itemconfigure(),
Serhiy Storchaka [Fri, 23 May 2014 11:08:43 +0000 (14:08 +0300)]
Issue #21522: Added Tkinter tests for Listbox.itemconfigure(),
PanedWindow.paneconfigure(), and Menu.entryconfigure().

11 years agoIssue #21523: Fix over-pessimistic computation of the stack effect of some opcodes...
Antoine Pitrou [Fri, 23 May 2014 09:47:32 +0000 (11:47 +0200)]
Issue #21523: Fix over-pessimistic computation of the stack effect of some opcodes in the compiler.

This also fixes a quadratic compilation time issue noticeable when compiling
code with a large number of "and" and "or" operators.

11 years agoIssue #21523: Fix over-pessimistic computation of the stack effect of some opcodes...
Antoine Pitrou [Fri, 23 May 2014 09:46:03 +0000 (11:46 +0200)]
Issue #21523: Fix over-pessimistic computation of the stack effect of some opcodes in the compiler.

This also fixes a quadratic compilation time issue noticeable when compiling
code with a large number of "and" and "or" operators.

11 years agoMerge with 3.4
Terry Jan Reedy [Fri, 23 May 2014 04:34:38 +0000 (00:34 -0400)]
Merge with 3.4

11 years agoIssue #21545: Add .pop example and tweak comment about pure mutation methods.
Terry Jan Reedy [Fri, 23 May 2014 04:34:12 +0000 (00:34 -0400)]
Issue #21545: Add .pop example and tweak comment about pure mutation methods.
Patch prepared by David Harrigan.

11 years agomerge
Raymond Hettinger [Fri, 23 May 2014 02:47:11 +0000 (03:47 +0100)]
merge

11 years agoIssue 21479: Fix markup for the TarFile.open() classmethod.
Raymond Hettinger [Fri, 23 May 2014 02:46:52 +0000 (03:46 +0100)]
Issue 21479: Fix markup for the TarFile.open() classmethod.

11 years agomerge
Raymond Hettinger [Thu, 22 May 2014 23:04:26 +0000 (00:04 +0100)]
merge

11 years agoIssue 21198: Minor tarfile documentation bug.
Raymond Hettinger [Thu, 22 May 2014 23:03:45 +0000 (00:03 +0100)]
Issue 21198: Minor tarfile documentation bug.

11 years agomerge
Raymond Hettinger [Thu, 22 May 2014 22:37:31 +0000 (23:37 +0100)]
merge

11 years agoIssue 21554: Repair an out-of-date tutorial example to reflect changes in shutil.
Raymond Hettinger [Thu, 22 May 2014 22:37:09 +0000 (23:37 +0100)]
Issue 21554:  Repair an out-of-date tutorial example to reflect changes in shutil.

11 years agoIssue #21383: OS X installer builds now use "make touch".
Ned Deily [Thu, 22 May 2014 22:29:18 +0000 (15:29 -0700)]
Issue #21383: OS X installer builds now use "make touch".

11 years agoIssue #21383: OS X installer builds now use "make touch".
Ned Deily [Thu, 22 May 2014 22:28:06 +0000 (15:28 -0700)]
Issue #21383: OS X installer builds now use "make touch".

11 years agoIssue #21455: Add a default backlog to socket.listen().
Charles-François Natali [Thu, 22 May 2014 18:45:39 +0000 (19:45 +0100)]
Issue #21455: Add a default backlog to socket.listen().

11 years agoIssue #21525: Most Tkinter methods which accepted tuples now accept lists too.
Serhiy Storchaka [Wed, 21 May 2014 14:12:21 +0000 (17:12 +0300)]
Issue #21525: Most Tkinter methods which accepted tuples now accept lists too.

11 years agoFix Issue #21528 - Fix documentation typos
Donald Stufft [Tue, 20 May 2014 16:58:38 +0000 (12:58 -0400)]
Fix Issue #21528 - Fix documentation typos

11 years ago(Merge 3.4) asyncio: test_base_events: use mock.Mock instead of
Victor Stinner [Tue, 20 May 2014 13:57:32 +0000 (15:57 +0200)]
(Merge 3.4) asyncio: test_base_events: use mock.Mock instead of
unittest.mock.Mock to simplify the synchronization with Trollius

11 years agoasyncio: test_base_events: use mock.Mock instead of unittest.mock.Mock to
Victor Stinner [Tue, 20 May 2014 13:57:08 +0000 (15:57 +0200)]
asyncio: test_base_events: use mock.Mock instead of unittest.mock.Mock to
simplify the synchronization with Trollius

11 years agoMerge with 3.4
Terry Jan Reedy [Tue, 20 May 2014 02:55:59 +0000 (22:55 -0400)]
Merge with 3.4

11 years agomerge heads
Terry Jan Reedy [Tue, 20 May 2014 02:54:58 +0000 (22:54 -0400)]
merge heads

11 years agomerge
Raymond Hettinger [Mon, 19 May 2014 21:21:24 +0000 (22:21 +0100)]
merge

11 years agoIssue 20620: Update the min()/max() docs for the new default argument.
Raymond Hettinger [Mon, 19 May 2014 21:20:52 +0000 (22:20 +0100)]
Issue 20620: Update the min()/max() docs for the new default argument.

Patch provided by Berker Peksag.

11 years agoSmall code and comment cleanups
Raymond Hettinger [Mon, 19 May 2014 21:13:45 +0000 (22:13 +0100)]
Small code and comment cleanups

11 years agoImprove readability
Raymond Hettinger [Mon, 19 May 2014 19:21:43 +0000 (20:21 +0100)]
Improve readability

11 years agomerge
Raymond Hettinger [Mon, 19 May 2014 06:34:08 +0000 (07:34 +0100)]
merge

11 years agoMerge.
Larry Hastings [Mon, 19 May 2014 06:20:45 +0000 (23:20 -0700)]
Merge.

11 years agoMerge.
Larry Hastings [Mon, 19 May 2014 06:19:55 +0000 (23:19 -0700)]
Merge.

11 years agoNull merge 3.4.1 (and 3.4.1rc1) release-engineering revisions.
Larry Hastings [Mon, 19 May 2014 06:15:35 +0000 (23:15 -0700)]
Null merge 3.4.1 (and 3.4.1rc1) release-engineering revisions.

11 years agoIssue #21477: idle htests - lower case function names, other cleanups.
Terry Jan Reedy [Mon, 19 May 2014 04:12:10 +0000 (00:12 -0400)]
Issue #21477: idle htests - lower case function names, other cleanups.

11 years agoAdd development comments to setobject.c
Raymond Hettinger [Sun, 18 May 2014 20:40:20 +0000 (21:40 +0100)]
Add development comments to setobject.c

11 years agoAdd comment and make minor code clean-up to improve clarity.
Raymond Hettinger [Sun, 18 May 2014 20:32:40 +0000 (21:32 +0100)]
Add comment and make minor code clean-up to improve clarity.

11 years agoDon't grow strings by concatenation. Use ''.join() instead.
Raymond Hettinger [Sun, 18 May 2014 20:02:25 +0000 (21:02 +0100)]
Don't grow strings by concatenation.  Use ''.join() instead.

11 years agoAdded tag v3.4.1 for changeset c0e311e010fc
Larry Hastings [Sun, 18 May 2014 04:46:49 +0000 (21:46 -0700)]
Added tag v3.4.1 for changeset c0e311e010fc

11 years agoVersion bump for 3.4.1. v3.4.1
Larry Hastings [Sun, 18 May 2014 04:46:35 +0000 (21:46 -0700)]
Version bump for 3.4.1.

11 years agoRebuild pydoc topics.
Larry Hastings [Sun, 18 May 2014 04:45:01 +0000 (21:45 -0700)]
Rebuild pydoc topics.

11 years agoMerge.
Larry Hastings [Sun, 18 May 2014 04:05:10 +0000 (21:05 -0700)]
Merge.

11 years agoPost-release version bump for 3.4.1rc1. Sorry it's late!
Larry Hastings [Sun, 18 May 2014 03:54:44 +0000 (20:54 -0700)]
Post-release version bump for 3.4.1rc1.  Sorry it's late!

11 years ago(null merge 3.4)
Benjamin Peterson [Sun, 18 May 2014 03:02:28 +0000 (20:02 -0700)]
(null merge 3.4)

11 years agoIssue #21430: additions to the description of non-blocking SSL sockets
Antoine Pitrou [Sat, 17 May 2014 22:56:53 +0000 (00:56 +0200)]
Issue #21430: additions to the description of non-blocking SSL sockets

11 years agoIssue #21430: additions to the description of non-blocking SSL sockets
Antoine Pitrou [Sat, 17 May 2014 22:55:13 +0000 (00:55 +0200)]
Issue #21430: additions to the description of non-blocking SSL sockets

11 years agoIssue #20186: memoryobject.c: add function signatures.
Stefan Krah [Sat, 17 May 2014 22:35:09 +0000 (00:35 +0200)]
Issue #20186: memoryobject.c: add function signatures.

11 years agomerge 3.4 (#10744)
Benjamin Peterson [Sat, 17 May 2014 22:07:34 +0000 (15:07 -0700)]
merge 3.4 (#10744)

11 years agosupport pep 3118 format strings for ctypes objects with nontrivial shapes (closes...
Benjamin Peterson [Sat, 17 May 2014 21:59:12 +0000 (14:59 -0700)]
support pep 3118 format strings for ctypes objects with nontrivial shapes (closes #10744)

Patch by Matti Picus.

11 years agoMiscellaneous corrections and updates to the OS X README file.
Ned Deily [Sat, 17 May 2014 21:31:34 +0000 (14:31 -0700)]
Miscellaneous corrections and updates to the OS X README file.

11 years agoMiscellaneous corrections and updates to the OS X README file.
Ned Deily [Sat, 17 May 2014 21:30:09 +0000 (14:30 -0700)]
Miscellaneous corrections and updates to the OS X README file.

11 years agoIssue #21362: concurrent.futures does not validate that max_workers is proper
Brian Quinlan [Sat, 17 May 2014 20:51:10 +0000 (13:51 -0700)]
Issue #21362: concurrent.futures does not validate that max_workers is proper

11 years agoUpgrade pip to 1.5.6
Donald Stufft [Sat, 17 May 2014 03:02:25 +0000 (23:02 -0400)]
Upgrade pip to 1.5.6

11 years agoUpgrade pip to 1.5.6
Donald Stufft [Sat, 17 May 2014 03:02:25 +0000 (23:02 -0400)]
Upgrade pip to 1.5.6

11 years agoUpgrade setuptools to 3.6
Donald Stufft [Sat, 17 May 2014 03:01:28 +0000 (23:01 -0400)]
Upgrade setuptools to 3.6

11 years agoIssue #21503: Use test_both() consistently in test_importlib.
Eric Snow [Fri, 16 May 2014 17:40:40 +0000 (11:40 -0600)]
Issue #21503: Use test_both() consistently in test_importlib.

11 years agoFix a small typo in test_importlib.
Eric Snow [Fri, 16 May 2014 17:22:05 +0000 (11:22 -0600)]
Fix a small typo in test_importlib.

11 years agoIssue #13916: Fix surrogatepass error handler on Windows
Victor Stinner [Fri, 16 May 2014 12:46:20 +0000 (14:46 +0200)]
Issue #13916: Fix surrogatepass error handler on Windows

11 years agoMerge with 3.4
Terry Jan Reedy [Fri, 16 May 2014 00:50:30 +0000 (20:50 -0400)]
Merge with 3.4

11 years agoIssue #18104: revise docstrings, remove obsolete comments.
Terry Jan Reedy [Fri, 16 May 2014 00:50:10 +0000 (20:50 -0400)]
Issue #18104: revise docstrings, remove obsolete comments.

11 years agoMention ipaddress improvements.
Antoine Pitrou [Thu, 15 May 2014 20:55:40 +0000 (22:55 +0200)]
Mention ipaddress improvements.

11 years agoBetter organization of the what's new
Antoine Pitrou [Thu, 15 May 2014 20:47:33 +0000 (22:47 +0200)]
Better organization of the what's new

11 years agoIssue #21364: remove recommendation of broken pattern.
Antoine Pitrou [Thu, 15 May 2014 20:39:41 +0000 (22:39 +0200)]
Issue #21364: remove recommendation of broken pattern.

11 years agoIssue #21364: remove recommendation of broken pattern.
Antoine Pitrou [Thu, 15 May 2014 20:38:56 +0000 (22:38 +0200)]
Issue #21364: remove recommendation of broken pattern.

11 years agoIssue #20826: Optimize ipaddress.collapse_addresses().
Antoine Pitrou [Thu, 15 May 2014 18:40:53 +0000 (20:40 +0200)]
Issue #20826: Optimize ipaddress.collapse_addresses().

11 years agoIssue #21487: Optimize ipaddress.summarize_address_range() and ipaddress.{IPv4Network...
Antoine Pitrou [Thu, 15 May 2014 18:21:48 +0000 (20:21 +0200)]
Issue #21487: Optimize ipaddress.summarize_address_range() and ipaddress.{IPv4Network,IPv6Network}.subnets().

11 years agoIssue #21486: Optimize parsing of netmasks in ipaddress.IPv4Network and ipaddress...
Antoine Pitrou [Thu, 15 May 2014 18:18:41 +0000 (20:18 +0200)]
Issue #21486: Optimize parsing of netmasks in ipaddress.IPv4Network and ipaddress.IPv6Network.

11 years agoIssue #13916: Disallowed the surrogatepass error handler for non UTF-*
Serhiy Storchaka [Thu, 15 May 2014 11:37:42 +0000 (14:37 +0300)]
Issue #13916: Disallowed the surrogatepass error handler for non UTF-*
encodings.

11 years agoMerge 3.4
Victor Stinner [Wed, 14 May 2014 21:37:14 +0000 (23:37 +0200)]
Merge 3.4

11 years agoIssue #21488: Oops, the patch for codecs.encode/decode doc was written by
Victor Stinner [Wed, 14 May 2014 21:29:38 +0000 (23:29 +0200)]
Issue #21488: Oops, the patch for codecs.encode/decode doc was written by
Berker Peksag (already present in Misc/ACKS). The issue was reported by Brad
Aylsworth.

11 years agoIssue #20998: Fixed re.fullmatch() of repeated single character pattern
Serhiy Storchaka [Wed, 14 May 2014 18:51:37 +0000 (21:51 +0300)]
Issue #20998: Fixed re.fullmatch() of repeated single character pattern
with ignore case.  Original patch by Matthew Barnett.

11 years agoIssue #20998: Fixed re.fullmatch() of repeated single character pattern
Serhiy Storchaka [Wed, 14 May 2014 18:48:17 +0000 (21:48 +0300)]
Issue #20998: Fixed re.fullmatch() of repeated single character pattern
with ignore case.  Original patch by Matthew Barnett.

11 years agoIssue #21075: fileinput.FileInput now reads bytes from standard stream if
Serhiy Storchaka [Wed, 14 May 2014 18:11:08 +0000 (21:11 +0300)]
Issue #21075: fileinput.FileInput now reads bytes from standard stream if
binary mode is specified.  Patch by Sam Kimbrel.

11 years agoIssue #21075: fileinput.FileInput now reads bytes from standard stream if
Serhiy Storchaka [Wed, 14 May 2014 18:08:33 +0000 (21:08 +0300)]
Issue #21075: fileinput.FileInput now reads bytes from standard stream if
binary mode is specified.  Patch by Sam Kimbrel.

11 years agoIssue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY()
Victor Stinner [Wed, 14 May 2014 15:24:35 +0000 (17:24 +0200)]
Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY()

Keep _Py_STRINGIZE() in PC/pyconfig.h to not introduce a dependency between
pyconfig.h and pymacros.h.

11 years ago(Merge 3.4) Issue #21497: faulthandler functions now raise a better error if
Victor Stinner [Wed, 14 May 2014 15:16:58 +0000 (17:16 +0200)]
(Merge 3.4) Issue #21497: faulthandler functions now raise a better error if
sys.stderr is None: RuntimeError("sys.stderr is None") instead of
AttributeError("'NoneType' object has no attribute 'fileno'").

11 years agoIssue #21497: faulthandler functions now raise a better error if sys.stderr is
Victor Stinner [Wed, 14 May 2014 15:15:50 +0000 (17:15 +0200)]
Issue #21497: faulthandler functions now raise a better error if sys.stderr is
None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType'
object has no attribute 'fileno'").

11 years agoIssue #21488: Add support of keyword arguments for codecs.encode and codecs.decode
Victor Stinner [Wed, 14 May 2014 15:13:14 +0000 (17:13 +0200)]
Issue #21488: Add support of keyword arguments for codecs.encode and codecs.decode

11 years agoMerge 3.4 (I commited a patch to the wrong branch and then used hg backout)
Victor Stinner [Wed, 14 May 2014 15:13:02 +0000 (17:13 +0200)]
Merge 3.4 (I commited a patch to the wrong branch and then used hg backout)

11 years agoBacked out changeset 6ceedbd88b5f
Victor Stinner [Wed, 14 May 2014 15:12:27 +0000 (17:12 +0200)]
Backed out changeset 6ceedbd88b5f

11 years agoIssue #21488: Add support of keyword arguments for codecs.encode and codecs.decode
Victor Stinner [Wed, 14 May 2014 15:10:45 +0000 (17:10 +0200)]
Issue #21488: Add support of keyword arguments for codecs.encode and codecs.decode

11 years agoMerge 3.4: ignore change specific to 3.4 for #21488, I had a different patch for...
Victor Stinner [Wed, 14 May 2014 15:09:39 +0000 (17:09 +0200)]
Merge 3.4: ignore change specific to 3.4 for #21488, I had a different patch for Python 3.5

11 years agoIssue #21488: Fix doc of codecs.decode() and codecs.encode(), no keyword support.
Victor Stinner [Wed, 14 May 2014 15:08:45 +0000 (17:08 +0200)]
Issue #21488: Fix doc of codecs.decode() and codecs.encode(), no keyword support.
Patch written by Brad Aylsworth.

11 years agoMerge: #21347: use string not list in shell=True example.
R David Murray [Wed, 14 May 2014 14:10:14 +0000 (10:10 -0400)]
Merge: #21347: use string not list in shell=True example.

11 years ago#21347: use string not list in shell=True example.
R David Murray [Wed, 14 May 2014 14:09:52 +0000 (10:09 -0400)]
#21347: use string not list in shell=True example.

Patch by Akira.

11 years agomerge
Raymond Hettinger [Wed, 14 May 2014 05:21:04 +0000 (22:21 -0700)]
merge

11 years agoIssue #21470: Do a better job seeding the random number generator
Raymond Hettinger [Wed, 14 May 2014 05:13:40 +0000 (22:13 -0700)]
Issue #21470: Do a better job seeding the random number generator
to fully cover its state space.

11 years agoMerge from 3.4 (for #21499).
Eric Snow [Tue, 13 May 2014 18:18:07 +0000 (12:18 -0600)]
Merge from 3.4 (for #21499).

11 years agoIssue #21499: Ignore __builtins__ in several test_importlib.test_api tests.
Eric Snow [Tue, 13 May 2014 18:15:42 +0000 (12:15 -0600)]
Issue #21499: Ignore __builtins__ in several test_importlib.test_api tests.