]> granicus.if.org Git - python/log
python
9 years agoIssue #25165: Windows uninstallation should not remove launcher if other versions...
Steve Dower [Thu, 1 Oct 2015 22:19:39 +0000 (15:19 -0700)]
Issue #25165: Windows uninstallation should not remove launcher if other versions remain

9 years agoImproves support for building unofficial versions of the Windows installer.
Steve Dower [Thu, 1 Oct 2015 22:18:53 +0000 (15:18 -0700)]
Improves support for building unofficial versions of the Windows installer.

9 years agoFixes #25097: Merged fi from 3.4.
Vinay Sajip [Thu, 1 Oct 2015 19:38:53 +0000 (20:38 +0100)]
Fixes #25097: Merged fi from 3.4.

9 years agoFixes #25097: Windows test is skipped if there are insufficient privileges, rather...
Vinay Sajip [Thu, 1 Oct 2015 19:37:54 +0000 (20:37 +0100)]
Fixes #25097: Windows test is skipped if there are insufficient privileges, rather than failing.

9 years agoCloses #25185: merged fix from 3.4.
Vinay Sajip [Thu, 1 Oct 2015 10:27:57 +0000 (11:27 +0100)]
Closes #25185: merged fix from 3.4.

9 years agoCloses #25185: Use UTF-8 encoding when reading pyvenv.cfg.
Vinay Sajip [Thu, 1 Oct 2015 10:27:00 +0000 (11:27 +0100)]
Closes #25185: Use UTF-8 encoding when reading pyvenv.cfg.

9 years agoIssue #25280: Import trace messages emitted in verbose (-v) mode are no
Serhiy Storchaka [Thu, 1 Oct 2015 08:40:22 +0000 (11:40 +0300)]
Issue #25280: Import trace messages emitted in verbose (-v) mode are no
longer formatted twice.

9 years agoIssue #25280: Import trace messages emitted in verbose (-v) mode are no
Serhiy Storchaka [Thu, 1 Oct 2015 08:08:50 +0000 (11:08 +0300)]
Issue #25280: Import trace messages emitted in verbose (-v) mode are no
longer formatted twice.

9 years agoMerge 3.4 (os.urandom)
Victor Stinner [Thu, 1 Oct 2015 08:00:23 +0000 (10:00 +0200)]
Merge 3.4 (os.urandom)

9 years agoIssue #25003: os.urandom() doesn't use getentropy() on Solaris because
Victor Stinner [Thu, 1 Oct 2015 07:59:32 +0000 (09:59 +0200)]
Issue #25003: os.urandom() doesn't use getentropy() on Solaris because
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.

9 years agoIssue #25003: On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
Victor Stinner [Thu, 1 Oct 2015 07:47:30 +0000 (09:47 +0200)]
Issue #25003: On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.

9 years ago(Merge 3.4) Issue #25274: test_recursionlimit_recovery() of test_sys now checks
Victor Stinner [Thu, 1 Oct 2015 06:56:27 +0000 (08:56 +0200)]
(Merge 3.4) Issue #25274: test_recursionlimit_recovery() of test_sys now checks
sys.gettrace() when the test is executed, not when the module is loaded.

sys.settrace() may be after after the test is loaded.

9 years agoIssue #25274: test_recursionlimit_recovery() of test_sys now checks
Victor Stinner [Thu, 1 Oct 2015 06:55:33 +0000 (08:55 +0200)]
Issue #25274: test_recursionlimit_recovery() of test_sys now checks
sys.gettrace() when the test is executed, not when the module is loaded.

sys.settrace() may be after after the test is loaded.

9 years agoMerge 3.4 -> 3.5
Andrew Svetlov [Thu, 1 Oct 2015 06:48:36 +0000 (09:48 +0300)]
Merge 3.4 -> 3.5

9 years agoReflect parameter name change in the doc
Andrew Svetlov [Thu, 1 Oct 2015 06:48:08 +0000 (09:48 +0300)]
Reflect parameter name change in the doc

9 years ago(Merge 3.4) Issue #25182: Fix compilation on Windows
Victor Stinner [Wed, 30 Sep 2015 13:03:31 +0000 (15:03 +0200)]
(Merge 3.4) Issue #25182: Fix compilation on Windows

9 years agoIssue #25182: Fix compilation on Windows
Victor Stinner [Wed, 30 Sep 2015 13:01:34 +0000 (15:01 +0200)]
Issue #25182: Fix compilation on Windows

Restore also errno value before calling PyErr_SetFromErrno().

9 years agoIssue #25182: The stdprinter (used as sys.stderr before the io module is
Serhiy Storchaka [Wed, 30 Sep 2015 12:50:32 +0000 (15:50 +0300)]
Issue #25182: The stdprinter (used as sys.stderr before the io module is
imported at startup) now uses the backslashreplace error handler.

9 years agoIssue #25182: The stdprinter (used as sys.stderr before the io module is
Serhiy Storchaka [Wed, 30 Sep 2015 12:46:53 +0000 (15:46 +0300)]
Issue #25182: The stdprinter (used as sys.stderr before the io module is
imported at startup) now uses the backslashreplace error handler.

9 years agoIssue #22958: Constructor and update method of weakref.WeakValueDictionary
Serhiy Storchaka [Tue, 29 Sep 2015 20:52:42 +0000 (23:52 +0300)]
Issue #22958: Constructor and update method of weakref.WeakValueDictionary
now accept the self and the dict keyword arguments.

9 years agoIssue #22958: Constructor and update method of weakref.WeakValueDictionary
Serhiy Storchaka [Tue, 29 Sep 2015 20:52:09 +0000 (23:52 +0300)]
Issue #22958: Constructor and update method of weakref.WeakValueDictionary
now accept the self and the dict keyword arguments.

9 years agoIssue #22609: Constructor of collections.UserDict now accepts the self keyword
Serhiy Storchaka [Tue, 29 Sep 2015 20:37:09 +0000 (23:37 +0300)]
Issue #22609: Constructor of collections.UserDict now accepts the self keyword
argument.

9 years agoIssue #22609: Constructor of collections.UserDict now accepts the self keyword
Serhiy Storchaka [Tue, 29 Sep 2015 20:36:06 +0000 (23:36 +0300)]
Issue #22609: Constructor of collections.UserDict now accepts the self keyword
argument.

9 years agoIssue #25111: Fixed comparison of traceback.FrameSummary.
Serhiy Storchaka [Tue, 29 Sep 2015 19:33:36 +0000 (22:33 +0300)]
Issue #25111: Fixed comparison of traceback.FrameSummary.

9 years agoIssue #25262. Added support for BINBYTES8 opcode in Python implementation of
Serhiy Storchaka [Tue, 29 Sep 2015 19:12:29 +0000 (22:12 +0300)]
Issue #25262. Added support for BINBYTES8 opcode in Python implementation of
unpickler.  Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.

9 years agoIssue #25262. Added support for BINBYTES8 opcode in Python implementation of
Serhiy Storchaka [Tue, 29 Sep 2015 19:10:07 +0000 (22:10 +0300)]
Issue #25262. Added support for BINBYTES8 opcode in Python implementation of
unpickler.  Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.

9 years agoAlso rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge 3.4->3.5.)
Guido van Rossum [Tue, 29 Sep 2015 19:00:01 +0000 (12:00 -0700)]
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge 3.4->3.5.)

9 years agoAlso rewrote the guts of asyncio.Semaphore (patch by manipopopo).
Guido van Rossum [Tue, 29 Sep 2015 18:54:45 +0000 (11:54 -0700)]
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo).

9 years agoMerge 3.4 -> 3.5
Andrew Svetlov [Tue, 29 Sep 2015 15:36:44 +0000 (18:36 +0300)]
Merge 3.4 -> 3.5

9 years agoFix StreamReader.__repr__
Andrew Svetlov [Tue, 29 Sep 2015 15:36:00 +0000 (18:36 +0300)]
Fix StreamReader.__repr__

9 years agoIssue #25034: Merge from 3.4.
Eric V. Smith [Tue, 29 Sep 2015 14:30:04 +0000 (10:30 -0400)]
Issue #25034: Merge from 3.4.

9 years agoFixed issue #25034: Fix string.Formatter problem with auto-numbering
Eric V. Smith [Tue, 29 Sep 2015 14:27:38 +0000 (10:27 -0400)]
Fixed issue #25034: Fix string.Formatter problem with auto-numbering
and nested format_specs. Patch by Anthon van der Neut.

9 years agoAdded additional unpickling tests.
Serhiy Storchaka [Tue, 29 Sep 2015 12:50:45 +0000 (15:50 +0300)]
Added additional unpickling tests.

9 years agoAdded additional unpickling tests.
Serhiy Storchaka [Tue, 29 Sep 2015 12:49:58 +0000 (15:49 +0300)]
Added additional unpickling tests.

9 years agoMoved unpickling tests with prepickled data to separate class.
Serhiy Storchaka [Tue, 29 Sep 2015 12:34:53 +0000 (15:34 +0300)]
Moved unpickling tests with prepickled data to separate class.

9 years agoMoved unpickling tests with prepickled data to separate class.
Serhiy Storchaka [Tue, 29 Sep 2015 12:33:24 +0000 (15:33 +0300)]
Moved unpickling tests with prepickled data to separate class.

9 years agoMerge with 3.4, Issue #24028: Add subsection about Idle calltips.
Terry Jan Reedy [Tue, 29 Sep 2015 05:56:35 +0000 (01:56 -0400)]
Merge with 3.4, Issue #24028: Add subsection about Idle calltips.

9 years agoIssue #24028: Add subsection about Idle calltips.
Terry Jan Reedy [Tue, 29 Sep 2015 05:55:57 +0000 (01:55 -0400)]
Issue #24028: Add subsection about Idle calltips.

9 years agoMerge with 3.4
Terry Jan Reedy [Tue, 29 Sep 2015 05:01:00 +0000 (01:01 -0400)]
Merge with 3.4

9 years agoRemove indent in news item. Error when building 3.x docs.
Terry Jan Reedy [Tue, 29 Sep 2015 05:00:31 +0000 (01:00 -0400)]
Remove indent in news item. Error when building 3.x docs.

9 years agoIDLE NEWS items.
Terry Jan Reedy [Tue, 29 Sep 2015 03:42:56 +0000 (23:42 -0400)]
IDLE NEWS items.

9 years agoAdd recent IDLE NEWS items.
Terry Jan Reedy [Tue, 29 Sep 2015 03:38:57 +0000 (23:38 -0400)]
Add recent IDLE NEWS items.

9 years agoCorrect Misc/NEWS about asyncio.Queue rewrite.
Guido van Rossum [Mon, 28 Sep 2015 23:51:59 +0000 (16:51 -0700)]
Correct Misc/NEWS about asyncio.Queue rewrite.

9 years agoCorrect Misc/NEWS about asyncio.Queue rewrite.
Guido van Rossum [Mon, 28 Sep 2015 23:50:38 +0000 (16:50 -0700)]
Correct Misc/NEWS about asyncio.Queue rewrite.

9 years agoIssue #25233: Rewrite the guts of Queue to be more understandable and correct. (Merge...
Guido van Rossum [Mon, 28 Sep 2015 14:44:49 +0000 (07:44 -0700)]
Issue #25233: Rewrite the guts of Queue to be more understandable and correct. (Merge 3.4->3.5.)

9 years agoIssue #25233: Rewrite the guts of Queue to be more understandable and correct.
Guido van Rossum [Mon, 28 Sep 2015 14:42:34 +0000 (07:42 -0700)]
Issue #25233: Rewrite the guts of Queue to be more understandable and correct.

9 years agoIssue #25249: Remove unneeded mkstemp helper in test_subprocess
Berker Peksag [Mon, 28 Sep 2015 10:33:43 +0000 (13:33 +0300)]
Issue #25249: Remove unneeded mkstemp helper in test_subprocess

The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().

Patch by Nir Soffer.

9 years agoIssue #25249: Remove unneeded mkstemp helper in test_subprocess
Berker Peksag [Mon, 28 Sep 2015 10:33:14 +0000 (13:33 +0300)]
Issue #25249: Remove unneeded mkstemp helper in test_subprocess

The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().

Patch by Nir Soffer.

9 years agoMerge with 3.4
Terry Jan Reedy [Mon, 28 Sep 2015 08:53:01 +0000 (04:53 -0400)]
Merge with 3.4

9 years agoIssue #24972: New option is only valid in tk 8.5+.
Terry Jan Reedy [Mon, 28 Sep 2015 08:52:49 +0000 (04:52 -0400)]
Issue #24972: New option is only valid in tk 8.5+.

9 years agoMerge with 3.4
Terry Jan Reedy [Mon, 28 Sep 2015 08:16:43 +0000 (04:16 -0400)]
Merge with 3.4

9 years agoIssue #24972: Inactive selection background now matches active selection
Terry Jan Reedy [Mon, 28 Sep 2015 08:16:32 +0000 (04:16 -0400)]
Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.

9 years agoMerge from 3.4 into 3.5; no file changes
Martin Panter [Mon, 28 Sep 2015 06:28:29 +0000 (06:28 +0000)]
Merge from 3.4 into 3.5; no file changes

9 years agoBacked out changeset: 70c01dd35100
Terry Jan Reedy [Mon, 28 Sep 2015 02:50:54 +0000 (22:50 -0400)]
Backed out changeset: 70c01dd35100

9 years agoIssue #24972: Inactive selection background now matches active selection
Terry Jan Reedy [Mon, 28 Sep 2015 02:46:17 +0000 (22:46 -0400)]
Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.

9 years agomerge
Alexander Belopolsky [Mon, 28 Sep 2015 02:34:59 +0000 (22:34 -0400)]
merge

9 years agomerge
Alexander Belopolsky [Mon, 28 Sep 2015 02:34:07 +0000 (22:34 -0400)]
merge

9 years agoCloses issue #23600: Wrong results from tzinfo.fromutc().
Alexander Belopolsky [Mon, 28 Sep 2015 02:32:15 +0000 (22:32 -0400)]
Closes issue #23600: Wrong results from tzinfo.fromutc().

9 years agoCloses issue #23600: Wrong results from tzinfo.fromutc().
Alexander Belopolsky [Mon, 28 Sep 2015 02:31:45 +0000 (22:31 -0400)]
Closes issue #23600: Wrong results from tzinfo.fromutc().

9 years agoCloses issue #23600: Wrong results from tzinfo.fromutc().
Alexander Belopolsky [Mon, 28 Sep 2015 01:56:09 +0000 (21:56 -0400)]
Closes issue #23600: Wrong results from tzinfo.fromutc().

9 years agoCloses issue #23600: Wrong results from tzinfo.fromutc().
Alexander Belopolsky [Mon, 28 Sep 2015 01:41:55 +0000 (21:41 -0400)]
Closes issue #23600: Wrong results from tzinfo.fromutc().

9 years agoIssue #25203: Failed readline.set_completer_delims() no longer left the
Serhiy Storchaka [Sun, 27 Sep 2015 19:38:01 +0000 (22:38 +0300)]
Issue #25203: Failed readline.set_completer_delims() no longer left the
module in inconsistent state.

9 years agoIssue #25203: Failed readline.set_completer_delims() no longer left the
Serhiy Storchaka [Sun, 27 Sep 2015 19:34:59 +0000 (22:34 +0300)]
Issue #25203: Failed readline.set_completer_delims() no longer left the
 module in inconsistent state.

9 years agoMerge: Fix English phrasing.
R David Murray [Sun, 27 Sep 2015 16:36:50 +0000 (12:36 -0400)]
Merge: Fix English phrasing.

9 years agoFix English phrasing.
R David Murray [Sun, 27 Sep 2015 16:36:19 +0000 (12:36 -0400)]
Fix English phrasing.

9 years agomerge 3.4
Benjamin Peterson [Sun, 27 Sep 2015 09:14:23 +0000 (02:14 -0700)]
merge 3.4

9 years agofix spacing
Benjamin Peterson [Sun, 27 Sep 2015 09:13:40 +0000 (02:13 -0700)]
fix spacing

9 years agomerge 3.4
Benjamin Peterson [Sun, 27 Sep 2015 09:07:43 +0000 (02:07 -0700)]
merge 3.4

9 years agomerge heads
Benjamin Peterson [Sun, 27 Sep 2015 09:07:27 +0000 (02:07 -0700)]
merge heads

9 years agomerge heads
Benjamin Peterson [Sun, 27 Sep 2015 09:07:19 +0000 (02:07 -0700)]
merge heads

9 years agomerge 3.4
Benjamin Peterson [Sun, 27 Sep 2015 09:05:12 +0000 (02:05 -0700)]
merge 3.4

9 years agomake wikipedia link https
Benjamin Peterson [Sun, 27 Sep 2015 09:05:01 +0000 (02:05 -0700)]
make wikipedia link https

9 years agoMerge with 3.4
Terry Jan Reedy [Sun, 27 Sep 2015 08:40:23 +0000 (04:40 -0400)]
Merge with 3.4

9 years agoIssue #25198: When using the Idle dov TOC menu, put the section title at the
Terry Jan Reedy [Sun, 27 Sep 2015 08:40:08 +0000 (04:40 -0400)]
Issue #25198: When using the Idle dov TOC menu, put the section title at the
top of the window, unless it is too near the bottom to do do.

9 years agomerge 3.4
Benjamin Peterson [Sun, 27 Sep 2015 08:23:35 +0000 (01:23 -0700)]
merge 3.4

9 years agoshorten and fix casing of title
Benjamin Peterson [Sun, 27 Sep 2015 08:23:10 +0000 (01:23 -0700)]
shorten and fix casing of title

9 years agomerge 3.4 (#25245)
Benjamin Peterson [Sun, 27 Sep 2015 08:16:12 +0000 (01:16 -0700)]
merge 3.4 (#25245)

9 years agoinitialize return value to NULL to avoid compiler compliants (closes #25245)
Benjamin Peterson [Sun, 27 Sep 2015 08:16:03 +0000 (01:16 -0700)]
initialize return value to NULL to avoid compiler compliants (closes #25245)

9 years agodetect alpn by feature flag not openssl version (closes #23329)
Benjamin Peterson [Sun, 27 Sep 2015 07:09:02 +0000 (00:09 -0700)]
detect alpn by feature flag not openssl version (closes #23329)

9 years agoMerge with 3.4
Terry Jan Reedy [Sun, 27 Sep 2015 00:04:09 +0000 (20:04 -0400)]
Merge with 3.4

9 years agoIssue #24570: Idle: make calltip and completion boxes appear on Macs
Terry Jan Reedy [Sun, 27 Sep 2015 00:03:57 +0000 (20:03 -0400)]
Issue #24570: Idle: make calltip and completion boxes appear on Macs
affected by a tk regression.  Initial patch by Mark Roseman.

9 years agoMerge with 3.4
Terry Jan Reedy [Sat, 26 Sep 2015 22:50:44 +0000 (18:50 -0400)]
Merge with 3.4

9 years agoIssue #24988: Idle ScrolledList context menus (used in debugger)
Terry Jan Reedy [Sat, 26 Sep 2015 22:50:26 +0000 (18:50 -0400)]
Issue #24988: Idle ScrolledList context menus (used in debugger)
now work on Mac Aqua.  Patch by Mark Roseman.

9 years agoIssue #25135: Avoid possible reentrancy issues in deque_clear.
Raymond Hettinger [Sat, 26 Sep 2015 07:14:59 +0000 (00:14 -0700)]
Issue #25135: Avoid possible reentrancy issues in deque_clear.

9 years agomerge 3.4
Benjamin Peterson [Sat, 26 Sep 2015 07:09:32 +0000 (00:09 -0700)]
merge 3.4

9 years agoprevent overflow in _Unpickler_Read
Benjamin Peterson [Sat, 26 Sep 2015 07:08:34 +0000 (00:08 -0700)]
prevent overflow in _Unpickler_Read

9 years agomake opening brace of container literals and comprehensions correspond to the line...
Benjamin Peterson [Sat, 26 Sep 2015 05:44:43 +0000 (22:44 -0700)]
make opening brace of container literals and comprehensions correspond to the line number and col offset of the AST node (closes #25131)

9 years agoMerge with 3.4
Terry Jan Reedy [Sat, 26 Sep 2015 02:23:19 +0000 (22:23 -0400)]
Merge with 3.4

9 years agoIssue #25173: Replace 'master' with 'parent' in tkinter.messagebox calls.
Terry Jan Reedy [Sat, 26 Sep 2015 02:22:55 +0000 (22:22 -0400)]
Issue #25173: Replace 'master' with 'parent' in tkinter.messagebox calls.
This associates the message box with the widget and is better for Mac OSX.
Patch by Mark Roseman.

9 years agoIssue #25211: Merge test_long from 3.4 into 3.5
Martin Panter [Sat, 26 Sep 2015 00:07:29 +0000 (00:07 +0000)]
Issue #25211: Merge test_long from 3.4 into 3.5

9 years agoIssue #25211: Eliminate lazy error message class by using subTest
Martin Panter [Fri, 25 Sep 2015 23:50:47 +0000 (23:50 +0000)]
Issue #25211: Eliminate lazy error message class by using subTest

Some of the calls to the Frm class were buggy anyway.

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 25 Sep 2015 04:49:31 +0000 (00:49 -0400)]
Merge with 3.4

9 years agoIssue #25198: Idle doc viewer now uses user width and height setting.
Terry Jan Reedy [Fri, 25 Sep 2015 04:49:18 +0000 (00:49 -0400)]
Issue #25198: Idle doc viewer now uses user width and height setting.
The height is reduced by 3/4 to account for extra spacing between lines,
relative to an Idle editor, and extra tall header lines.

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 25 Sep 2015 03:19:09 +0000 (23:19 -0400)]
Merge with 3.4

9 years agoIssue #25225: add revised .html.
Terry Jan Reedy [Fri, 25 Sep 2015 03:18:57 +0000 (23:18 -0400)]
Issue #25225: add revised .html.

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 25 Sep 2015 03:14:02 +0000 (23:14 -0400)]
Merge with 3.4

9 years agoIssue #25225: Condense and rewrite Idle doc section on text colors.
Terry Jan Reedy [Fri, 25 Sep 2015 03:13:49 +0000 (23:13 -0400)]
Issue #25225: Condense and rewrite Idle doc section on text colors.

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 24 Sep 2015 21:32:38 +0000 (17:32 -0400)]
Merge with 3.4

9 years agoIssue #25198: In Idle doc viewer, fix indent of fixed-pitch <pre> text
Terry Jan Reedy [Thu, 24 Sep 2015 21:32:01 +0000 (17:32 -0400)]
Issue #25198: In Idle doc viewer, fix indent of fixed-pitch <pre> text
by adding a new tag.  Patch by Mark Roseman. Also give <pre> text a very
light blueish-gray background similar to that used by Sphinx html.

9 years agoMerge 3.4 -> 3.5
Andrew Svetlov [Thu, 24 Sep 2015 11:35:16 +0000 (14:35 +0300)]
Merge 3.4 -> 3.5