]> granicus.if.org Git - python/log
python
11 years agoIssue #21552: Fixed possible integer overflow of too long string lengths in
Serhiy Storchaka [Fri, 30 May 2014 11:25:22 +0000 (14:25 +0300)]
Issue #21552: Fixed possible integer overflow of too long string lengths in
the tkinter module on 64-bit platforms.

11 years agoIssue #21552: Fixed possible integer overflow of too long string lengths in
Serhiy Storchaka [Fri, 30 May 2014 11:24:03 +0000 (14:24 +0300)]
Issue #21552: Fixed possible integer overflow of too long string lengths in
the tkinter module on 64-bit platforms.

11 years agoAdd tests for getint, getdouble and getboolean methods of the tkapp object.
Serhiy Storchaka [Fri, 30 May 2014 11:08:49 +0000 (14:08 +0300)]
Add tests for getint, getdouble and getboolean methods of the tkapp object.

11 years agoAdd tests for getint, getdouble and getboolean methods of the tkapp object.
Serhiy Storchaka [Fri, 30 May 2014 11:07:38 +0000 (14:07 +0300)]
Add tests for getint, getdouble and getboolean methods of the tkapp object.

11 years agoIssue #13742: Add key and reverse parameters to heapq.merge()
Raymond Hettinger [Fri, 30 May 2014 09:28:36 +0000 (02:28 -0700)]
Issue #13742:  Add key and reverse parameters to heapq.merge()

11 years agoFix issue #14315: The zipfile module now ignores extra fields in the central
Gregory P. Smith [Fri, 30 May 2014 06:42:47 +0000 (23:42 -0700)]
Fix issue #14315: The zipfile module now ignores extra fields in the central
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.

11 years agoFix issue #14315: The zipfile module now ignores extra fields in the central
Gregory P. Smith [Fri, 30 May 2014 06:42:14 +0000 (23:42 -0700)]
Fix issue #14315: The zipfile module now ignores extra fields in the central
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.

11 years agoIssue #21226: Merge from 3.4.
Eric Snow [Thu, 29 May 2014 18:32:39 +0000 (12:32 -0600)]
Issue #21226: Merge from 3.4.

11 years agoIssue #21226: fix a ref leak.
Eric Snow [Thu, 29 May 2014 18:31:39 +0000 (12:31 -0600)]
Issue #21226: fix a ref leak.

11 years agoMerge with 3.4
Terry Jan Reedy [Thu, 29 May 2014 05:46:48 +0000 (01:46 -0400)]
Merge with 3.4

11 years agoIssue #21477: Add htests for GrepDialog, UndoDelegator, and configDialog.
Terry Jan Reedy [Thu, 29 May 2014 05:46:26 +0000 (01:46 -0400)]
Issue #21477: Add htests for GrepDialog, UndoDelegator, and configDialog.
Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.

11 years ago(Merge 3.4) Issue #21454: Fix asyncio.BaseEventLoop.connect_read_pipe doc
Victor Stinner [Wed, 28 May 2014 22:19:09 +0000 (00:19 +0200)]
(Merge 3.4) Issue #21454: Fix asyncio.BaseEventLoop.connect_read_pipe doc

The function sets the the pipe to non-blocking mode.

11 years agoIssue #21454: Fix asyncio.BaseEventLoop.connect_read_pipe doc
Victor Stinner [Wed, 28 May 2014 22:14:03 +0000 (00:14 +0200)]
Issue #21454: Fix asyncio.BaseEventLoop.connect_read_pipe doc

The function sets the the pipe to non-blocking mode.

11 years ago(Merge 3.4) Issue #21376: document asyncio.TimeoutError
Victor Stinner [Wed, 28 May 2014 22:05:13 +0000 (00:05 +0200)]
(Merge 3.4) Issue #21376: document asyncio.TimeoutError

11 years agoIssue #21376: document asyncio.TimeoutError
Victor Stinner [Wed, 28 May 2014 22:04:57 +0000 (00:04 +0200)]
Issue #21376: document asyncio.TimeoutError

11 years agoRestore performance of some dumb database methods (regression introduced by #19385).
Serhiy Storchaka [Wed, 28 May 2014 15:50:12 +0000 (18:50 +0300)]
Restore performance of some dumb database methods (regression introduced by #19385).

11 years agoRestore performance of some dumb database methods (regression introduced by #19385).
Serhiy Storchaka [Wed, 28 May 2014 15:49:52 +0000 (18:49 +0300)]
Restore performance of some dumb database methods (regression introduced by #19385).

11 years agoIssue #21402: tkinter.ttk now works when default root window is not set.
Serhiy Storchaka [Wed, 28 May 2014 15:42:05 +0000 (18:42 +0300)]
Issue #21402: tkinter.ttk now works when default root window is not set.

11 years agoIssue #21402: tkinter.ttk now works when default root window is not set.
Serhiy Storchaka [Wed, 28 May 2014 15:38:27 +0000 (18:38 +0300)]
Issue #21402: tkinter.ttk now works when default root window is not set.

11 years agoIssue #21493: Added test for ntpath.expanduser(). Original patch by
Serhiy Storchaka [Wed, 28 May 2014 15:14:03 +0000 (18:14 +0300)]
Issue #21493: Added test for ntpath.expanduser().  Original patch by
Claudiu Popa.

11 years agoIssue #21493: Added test for ntpath.expanduser(). Original patch by
Serhiy Storchaka [Wed, 28 May 2014 15:11:29 +0000 (18:11 +0300)]
Issue #21493: Added test for ntpath.expanduser().  Original patch by
Claudiu Popa.

11 years agoIssue #3015: _tkinter.create() now creates tkapp object with wantobject=1 by
Serhiy Storchaka [Wed, 28 May 2014 13:57:55 +0000 (16:57 +0300)]
Issue #3015: _tkinter.create() now creates tkapp object with wantobject=1 by
default.

11 years agoIssue #10203: sqlite3.Row now truly supports sequence protocol. In particulr
Serhiy Storchaka [Wed, 28 May 2014 10:00:59 +0000 (13:00 +0300)]
Issue #10203: sqlite3.Row now truly supports sequence protocol.  In particulr
it supports reverse() and negative indices.  Original patch by Claudiu Popa.

11 years agoIssue #10203: sqlite3.Row now truly supports sequence protocol. In particulr
Serhiy Storchaka [Wed, 28 May 2014 09:58:34 +0000 (12:58 +0300)]
Issue #10203: sqlite3.Row now truly supports sequence protocol.  In particulr
it supports reverse() and negative indices.  Original patch by Claudiu Popa.

11 years agoIssue #18807: Merged fix from 3.4.
Vinay Sajip [Wed, 28 May 2014 07:08:32 +0000 (08:08 +0100)]
Issue #18807: Merged fix from 3.4.

11 years agoIssue #18807: If copying (no symlinks) specified for a venv, then the python interpre...
Vinay Sajip [Wed, 28 May 2014 07:06:24 +0000 (08:06 +0100)]
Issue #18807: If copying (no symlinks) specified for a venv, then the python interpreter aliases (python, python3) are now created by copying rather than symlinking.

11 years agoFix for raising exception not derived from BaseException in _SelectorSslTransport...
Andrew Svetlov [Tue, 27 May 2014 18:25:31 +0000 (21:25 +0300)]
Fix for raising exception not derived from BaseException in _SelectorSslTransport.resume_reading

11 years agoFix for raising exception not derived from BaseException in _SelectorSslTransport...
Andrew Svetlov [Tue, 27 May 2014 18:24:43 +0000 (21:24 +0300)]
Fix for raising exception not derived from BaseException in _SelectorSslTransport.resume_reading

11 years agoMerge with 3.4
Terry Jan Reedy [Tue, 27 May 2014 07:31:32 +0000 (03:31 -0400)]
Merge with 3.4

11 years agoIssue #21477: Add htests for Search and Replace dialogs.
Terry Jan Reedy [Tue, 27 May 2014 07:30:54 +0000 (03:30 -0400)]
Issue #21477: Add htests for Search and Replace dialogs.
Patch by Saimadhav Heblikar.

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

11 years agoIssue 21439: Minor issues in the reference manual.
Raymond Hettinger [Tue, 27 May 2014 05:20:37 +0000 (22:20 -0700)]
Issue 21439:  Minor issues in the reference manual.

(Contributed by Feliks Kluzniak.)

11 years agoIssue 21575: Show list.sort() arguments in the tutorial.
Raymond Hettinger [Tue, 27 May 2014 01:44:04 +0000 (18:44 -0700)]
Issue 21575:  Show list.sort() arguments in the tutorial.

11 years agoMinor clean-ups for heapq.merge().
Raymond Hettinger [Tue, 27 May 2014 00:08:27 +0000 (17:08 -0700)]
Minor clean-ups for heapq.merge().

11 years agonull merge 3.4
Benjamin Peterson [Mon, 26 May 2014 22:53:56 +0000 (15:53 -0700)]
null merge 3.4

11 years agoa post 3.4.1 world
Benjamin Peterson [Mon, 26 May 2014 22:53:27 +0000 (15:53 -0700)]
a post 3.4.1 world

11 years agomerge 3.4
Benjamin Peterson [Mon, 26 May 2014 22:48:19 +0000 (15:48 -0700)]
merge 3.4

11 years agogrammar and sentence flow fix
Benjamin Peterson [Mon, 26 May 2014 22:48:12 +0000 (15:48 -0700)]
grammar and sentence flow fix

11 years agomerge 3.4
Benjamin Peterson [Mon, 26 May 2014 22:45:22 +0000 (15:45 -0700)]
merge 3.4

11 years agoformat reST directive in the usual way
Benjamin Peterson [Mon, 26 May 2014 22:45:14 +0000 (15:45 -0700)]
format reST directive in the usual way

11 years agomerge 3.4
Benjamin Peterson [Mon, 26 May 2014 22:42:44 +0000 (15:42 -0700)]
merge 3.4

11 years agolink to wikipedia description of cryptographic salt
Benjamin Peterson [Mon, 26 May 2014 22:42:29 +0000 (15:42 -0700)]
link to wikipedia description of cryptographic salt

11 years agooxford comma
Benjamin Peterson [Mon, 26 May 2014 22:41:26 +0000 (15:41 -0700)]
oxford comma

11 years agomerge 3.4 (#21587)
Benjamin Peterson [Mon, 26 May 2014 22:12:43 +0000 (15:12 -0700)]
merge 3.4 (#21587)

11 years agoremove tab (closes #21587)
Benjamin Peterson [Mon, 26 May 2014 22:12:28 +0000 (15:12 -0700)]
remove tab (closes #21587)

11 years agomerge 3.4 (#21586)
Benjamin Peterson [Mon, 26 May 2014 22:11:11 +0000 (15:11 -0700)]
merge 3.4 (#21586)

11 years agofix typo in variable name (closes #21586)
Benjamin Peterson [Mon, 26 May 2014 22:10:42 +0000 (15:10 -0700)]
fix typo in variable name (closes #21586)

11 years agoMinor clean-ups for heapq.
Raymond Hettinger [Mon, 26 May 2014 07:58:56 +0000 (00:58 -0700)]
Minor clean-ups for heapq.

11 years agomerge
Raymond Hettinger [Mon, 26 May 2014 07:44:35 +0000 (00:44 -0700)]
merge

11 years agoIssue #21481: Teach argparse equality tests to return NotImplemented when comparing...
Raymond Hettinger [Mon, 26 May 2014 07:43:27 +0000 (00:43 -0700)]
Issue #21481:  Teach argparse equality tests to return NotImplemented when comparing to unknown types.

11 years agomerge
Raymond Hettinger [Mon, 26 May 2014 07:14:14 +0000 (00:14 -0700)]
merge

11 years agoIssue 8743: Improve interoperability between sets and the collections.Set abstract...
Raymond Hettinger [Mon, 26 May 2014 07:09:04 +0000 (00:09 -0700)]
Issue 8743: Improve interoperability between sets and the collections.Set abstract base class.

11 years agoIssue 16774: Add a new itertools recipe (suggested by Alexey Kachayev).
Raymond Hettinger [Mon, 26 May 2014 05:03:56 +0000 (22:03 -0700)]
Issue 16774:  Add a new itertools recipe (suggested by Alexey Kachayev).

11 years agoIssue 15246: Improve test coverage for collections.abc.Set. (Contributed by James...
Raymond Hettinger [Mon, 26 May 2014 01:28:39 +0000 (18:28 -0700)]
Issue 15246:  Improve test coverage for collections.abc.Set.  (Contributed by James King).

11 years agoIssue 21137: Better repr for threading.Lock()
Raymond Hettinger [Mon, 26 May 2014 01:22:35 +0000 (18:22 -0700)]
Issue 21137:  Better repr for threading.Lock()

11 years agomerge
Raymond Hettinger [Mon, 26 May 2014 01:06:27 +0000 (18:06 -0700)]
merge

11 years agoIssue 21558: Fix a typo in the contextlib docs
Raymond Hettinger [Mon, 26 May 2014 01:06:04 +0000 (18:06 -0700)]
Issue 21558:  Fix a typo in the contextlib docs

11 years agomerge
Raymond Hettinger [Mon, 26 May 2014 00:28:38 +0000 (17:28 -0700)]
merge

11 years agoIssue 13355: Make random.triangular degrade gracefully when low == high.
Raymond Hettinger [Mon, 26 May 2014 00:25:27 +0000 (17:25 -0700)]
Issue 13355:  Make random.triangular degrade gracefully when low == high.

11 years agoMerge with 3.4
Terry Jan Reedy [Sun, 25 May 2014 22:44:28 +0000 (18:44 -0400)]
Merge with 3.4

11 years agoIssue #21477: Idle htest: modify run; add more tests.
Terry Jan Reedy [Sun, 25 May 2014 22:44:05 +0000 (18:44 -0400)]
Issue #21477: Idle htest: modify run; add more tests.
Patch by Saimadhav Heblikar. 2.7 version will follow.

11 years agoMerge from 3.4
Nick Coghlan [Sun, 25 May 2014 15:00:34 +0000 (01:00 +1000)]
Merge from 3.4

11 years agoMention setuptools & wheel as key terms for distribution
Nick Coghlan [Sun, 25 May 2014 14:50:11 +0000 (00:50 +1000)]
Mention setuptools & wheel as key terms for distribution

11 years agoIssue #19925: Added tests for the spwd module. Original patch by Vajrasky Kok.
Serhiy Storchaka [Sun, 25 May 2014 13:22:20 +0000 (16:22 +0300)]
Issue #19925: Added tests for the spwd module. Original patch by Vajrasky Kok.

11 years agoIssue #19925: Added tests for the spwd module. Original patch by Vajrasky Kok.
Serhiy Storchaka [Sun, 25 May 2014 13:21:45 +0000 (16:21 +0300)]
Issue #19925: Added tests for the spwd module. Original patch by Vajrasky Kok.

11 years agoIssue #21565: multiprocessing: use contex-manager protocol for synchronization
Charles-François Natali [Sun, 25 May 2014 13:12:12 +0000 (14:12 +0100)]
Issue #21565: multiprocessing: use contex-manager protocol for synchronization
primitives.

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