]>
granicus.if.org Git - python/log
Terry Jan Reedy [Mon, 7 Sep 2015 05:58:29 +0000 (01:58 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 7 Sep 2015 05:58:13 +0000 (01:58 -0400)]
Issue #24889: When starting Idle, force focus onto Idle window if not already
there (as when opening Idle from interactive Python on Windows).
Steve Dower [Mon, 7 Sep 2015 05:31:08 +0000 (22:31 -0700)]
Null merge from 3.4
Steve Dower [Mon, 7 Sep 2015 05:30:40 +0000 (22:30 -0700)]
Reapplied change to test_warnings.py to test_warnings/__init__.py.
Steve Dower [Mon, 7 Sep 2015 05:27:42 +0000 (22:27 -0700)]
Merge from 3.5.0 branch.
Steve Dower [Mon, 7 Sep 2015 05:18:36 +0000 (22:18 -0700)]
Issue #24917: time_strftime() buffer over-read.
Larry Hastings [Mon, 7 Sep 2015 05:10:22 +0000 (22:10 -0700)]
Merged in stevedower/cpython350 (pull request #20)
Issue #25005: Backout fix for #8232 because of use of unsafe subprocess.call(shell=True)
Martin Panter [Mon, 7 Sep 2015 04:04:40 +0000 (04:04 +0000)]
Issue #25004: Merge 3.4 into 3.5
Martin Panter [Mon, 7 Sep 2015 03:40:17 +0000 (03:40 +0000)]
Issue #23406: Remove specific line number from susp-ignored.csv
Martin Panter [Mon, 7 Sep 2015 02:57:47 +0000 (02:57 +0000)]
Issue #25004: Handle out-of-disk-space error in LargeMmapTests
Patch from John Beck.
Steve Dower [Mon, 7 Sep 2015 02:20:51 +0000 (19:20 -0700)]
Issue #24917: time_strftime() buffer over-read.
Martin Panter [Mon, 7 Sep 2015 02:10:59 +0000 (02:10 +0000)]
Issue #23406: Merge 3.4 into 3.5
Martin Panter [Mon, 7 Sep 2015 02:08:55 +0000 (02:08 +0000)]
Issue #23406: Clarify documentation on multiplying a sequence
Patch from Matheus Vieira Portela.
Ezio Melotti [Sun, 6 Sep 2015 18:44:45 +0000 (21:44 +0300)]
#23144: merge with 3.4.
Ezio Melotti [Sun, 6 Sep 2015 18:38:06 +0000 (21:38 +0300)]
#23144: Make sure that HTMLParser.feed() returns all the data, even when convert_charrefs is True.
Serhiy Storchaka [Sun, 6 Sep 2015 15:33:52 +0000 (18:33 +0300)]
Fix, refactor and extend tests for shutil.make_archive().
Serhiy Storchaka [Sun, 6 Sep 2015 15:33:19 +0000 (18:33 +0300)]
Fix, refactor and extend tests for shutil.make_archive().
Serhiy Storchaka [Sun, 6 Sep 2015 11:14:49 +0000 (14:14 +0300)]
Use support.change_cwd() in tests.
Serhiy Storchaka [Sun, 6 Sep 2015 11:13:25 +0000 (14:13 +0300)]
Use support.change_cwd() in tests.
Larry Hastings [Sun, 6 Sep 2015 07:39:37 +0000 (00:39 -0700)]
Issue #24305: Prevent import subsystem stack frames from being counted
by the warnings.warn(stacklevel=) parameter.
Larry Hastings [Sun, 6 Sep 2015 07:31:02 +0000 (00:31 -0700)]
Backing out
09b62202d9b7 ; the tests fail on Linux, and it needs a re-think.
Steve Dower [Sun, 6 Sep 2015 06:11:53 +0000 (23:11 -0700)]
Issue #24917: Backed out changeset
09b62202d9b7
Steve Dower [Sun, 6 Sep 2015 06:09:00 +0000 (23:09 -0700)]
Backed out changeset:
a29b49d57769
Steve Dower [Sun, 6 Sep 2015 03:59:41 +0000 (20:59 -0700)]
Null merge with 3.4
Steve Dower [Sun, 6 Sep 2015 03:59:20 +0000 (20:59 -0700)]
Merge from 3.5.0 release branch
Steve Dower [Sun, 6 Sep 2015 03:55:34 +0000 (20:55 -0700)]
Issue #24917: time_strftime() Buffer Over-read. Patch by John Leitch.
Larry Hastings [Sun, 6 Sep 2015 03:53:04 +0000 (20:53 -0700)]
Merged in ncoghlan/cpython350 (pull request #17)
Raymond Hettinger [Sun, 6 Sep 2015 00:05:52 +0000 (17:05 -0700)]
Prevent reentrant badness by deferring the decrefs as long as possible.
Terry Jan Reedy [Sat, 5 Sep 2015 23:17:24 +0000 (19:17 -0400)]
merge from 3.4
Terry Jan Reedy [Sat, 5 Sep 2015 23:13:26 +0000 (19:13 -0400)]
Issue #16180: Exit pdb if file has syntax error, instead of trapping user
in an infinite loop. Patch by Xavier de Gaye.
Guido van Rossum [Sat, 5 Sep 2015 22:20:08 +0000 (15:20 -0700)]
Issue #24912: Prevent __class__ assignment to immutable built-in objects. (Merge 3.5.0 -> 3.5)
Steve Dower [Sat, 5 Sep 2015 19:47:06 +0000 (12:47 -0700)]
Issue #24910: Windows MSIs now have unique display names.
Steve Dower [Sat, 5 Sep 2015 19:23:00 +0000 (12:23 -0700)]
Issue #24917: Moves NEWS entry under Library.
Steve Dower [Sat, 5 Sep 2015 19:16:06 +0000 (12:16 -0700)]
Issue #24917: time_strftime() Buffer Over-read. Patch by John Leitch.
Steve Dower [Sat, 5 Sep 2015 18:57:47 +0000 (11:57 -0700)]
Issue #25005: Backout fix for #8232 because of use of unsafe subprocess.call(shell=True)
Nick Coghlan [Sat, 5 Sep 2015 11:05:05 +0000 (21:05 +1000)]
Close #24748: Restore imp.load_dynamic compatibility
To resolve a compatibility problem found with py2exe and
pywin32, imp.load_dynamic() once again ignores previously loaded modules
to support Python modules replacing themselves with extension modules.
Patch by Petr Viktorin.
Guido van Rossum [Sat, 5 Sep 2015 03:54:07 +0000 (20:54 -0700)]
Issue #24912: Prevent __class__ assignment to immutable built-in objects.
Guido van Rossum [Fri, 4 Sep 2015 19:54:36 +0000 (12:54 -0700)]
Null merge (Larry's 3.5 -> 3.5.1).
Guido van Rossum [Fri, 4 Sep 2015 19:15:54 +0000 (12:15 -0700)]
Fix issue #24635.
Guido van Rossum [Fri, 4 Sep 2015 19:00:06 +0000 (12:00 -0700)]
Issue #24635: Fixed flakiness in test_typing.py.
Victor Stinner [Fri, 4 Sep 2015 15:29:57 +0000 (17:29 +0200)]
Merge 3.4 (create_stdio)
Victor Stinner [Fri, 4 Sep 2015 15:27:49 +0000 (17:27 +0200)]
Fix race condition in create_stdio()
Issue #24891: Fix a race condition at Python startup if the file descriptor
of stdin (0), stdout (1) or stderr (2) is closed while Python is creating
sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set
to None if the creation of the object failed, instead of raising an OSError
exception. Initial patch written by Marco Paolini.
R David Murray [Fri, 4 Sep 2015 14:02:27 +0000 (10:02 -0400)]
Merge: #24998: fix cut and paste error in subprocess example.
R David Murray [Fri, 4 Sep 2015 14:01:19 +0000 (10:01 -0400)]
#24998: fix cut and paste error in subprocess example.
Terry Jan Reedy [Fri, 4 Sep 2015 08:38:17 +0000 (04:38 -0400)]
Merge with 3.4
Terry Jan Reedy [Fri, 4 Sep 2015 08:37:56 +0000 (04:37 -0400)]
Issue #24745: Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily.
Terry Jan Reedy [Fri, 4 Sep 2015 08:16:42 +0000 (04:16 -0400)]
Merge 3.5.0 into 3.5.1
Zachary Ware [Fri, 4 Sep 2015 06:10:23 +0000 (01:10 -0500)]
Issue #24986: Save some bandwidth from svn.python.org
Don't download sources that won't be used.
Serhiy Storchaka [Fri, 4 Sep 2015 05:38:45 +0000 (08:38 +0300)]
Fixed merge error.
Serhiy Storchaka [Fri, 4 Sep 2015 05:34:01 +0000 (08:34 +0300)]
Merge heads
Serhiy Storchaka [Fri, 4 Sep 2015 05:27:39 +0000 (08:27 +0300)]
Merge 3.5.0
Larry Hastings [Fri, 4 Sep 2015 05:12:08 +0000 (22:12 -0700)]
Merged in storchaka/cpython350 (pull request #13)
Issue #24989
Serhiy Storchaka [Fri, 4 Sep 2015 04:48:19 +0000 (07:48 +0300)]
Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is
set beyond size. Based on patch by John Leitch.
Zachary Ware [Fri, 4 Sep 2015 04:43:54 +0000 (23:43 -0500)]
Issue #24986: Allow building Python without external libraries on Windows
This modifies the behavior of the '-e' flag to PCbuild\build.bat: when '-e'
is not supplied, no attempt will be made to build extension modules that
require external libraries, even if the external libraries are present.
Also adds '--no-<module>' flags to PCbuild\build.bat, where '<module>' is
one of 'ssl', 'tkinter', or 'bsddb', to allow skipping just those modules
(if '-e' is given).
Zachary Ware [Fri, 4 Sep 2015 04:43:37 +0000 (23:43 -0500)]
Allow PCbuild\rt.bat to accept unlimited arguments for regrtest.
This makes it possible to pass more than 4 tests by name through
Tools\buildbot\test.bat
Terry Jan Reedy [Fri, 4 Sep 2015 01:26:12 +0000 (21:26 -0400)]
Issue #21192: Change 'RUN' back to 'RESTART' when running editor file.
Brett Cannon [Thu, 3 Sep 2015 22:34:57 +0000 (15:34 -0700)]
Merge from 3.5.0 for issue #24913
Serhiy Storchaka [Thu, 3 Sep 2015 22:08:03 +0000 (01:08 +0300)]
Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is
set beyond size. Based on patch by John Leitch.
Victor Stinner [Thu, 3 Sep 2015 19:32:44 +0000 (21:32 +0200)]
Merge 3.4 (ICC)
Victor Stinner [Thu, 3 Sep 2015 19:30:26 +0000 (21:30 +0200)]
Don't use defined() in C preprocessor macros
The ICC compiler doesn't seem to support defined() in macro expansion. Example
of warning:
warning #3199: "defined" is always false in a macro expansion in Microsoft mode
Brett Cannon [Thu, 3 Sep 2015 17:15:03 +0000 (10:15 -0700)]
Issue #24913: Fix overrun error in deque.index().
Reported by John Leitch and Bryce Darling, patch by Raymond Hettinger.
Zachary Ware [Thu, 3 Sep 2015 16:52:15 +0000 (11:52 -0500)]
Issue #24974: Force fp-model precice in mpdecimal.c on Windows
As suggested by Steve Dower and approved by Stefan Krah.
Victor Stinner [Thu, 3 Sep 2015 15:50:04 +0000 (17:50 +0200)]
Issue #24992: Fix error handling and a race condition (related to garbage
collection) in collections.OrderedDict constructor.
Patch reviewed by Serhiy Storchaka.
Victor Stinner [Thu, 3 Sep 2015 14:19:40 +0000 (16:19 +0200)]
Issue #24993: Handle import error in namereplace error handler
Handle PyCapsule_Import() failure (exception) in PyCodec_NameReplaceErrors():
return immedialty NULL.
Victor Stinner [Thu, 3 Sep 2015 13:42:45 +0000 (15:42 +0200)]
Merge 3.4 (test_gdb)
Victor Stinner [Thu, 3 Sep 2015 13:42:26 +0000 (15:42 +0200)]
test_gdb: oops, the regex to parse the gdb version was still too strict
Victor Stinner [Thu, 3 Sep 2015 10:15:27 +0000 (12:15 +0200)]
Merge 3.4 (test_wsgiref)
The support import is not needed in Python 3.5
Victor Stinner [Thu, 3 Sep 2015 10:14:25 +0000 (12:14 +0200)]
test_wsgiref: add missing import (support)
Senthil Kumaran [Thu, 3 Sep 2015 09:27:18 +0000 (02:27 -0700)]
Merge with 3.5. Fix test_wsgiref execution from the test module.
Senthil Kumaran [Thu, 3 Sep 2015 09:26:31 +0000 (02:26 -0700)]
Fix test_wsgiref execution from the test module.
Victor Stinner [Thu, 3 Sep 2015 07:46:11 +0000 (09:46 +0200)]
Merge 3.4 (test_gdb)
Victor Stinner [Thu, 3 Sep 2015 07:45:53 +0000 (09:45 +0200)]
test_gdb: fix regex to parse GDB version for 'GNU gdb 6.1.1 [FreeBSD]\n'
Terry Jan Reedy [Thu, 3 Sep 2015 02:08:03 +0000 (22:08 -0400)]
Merge with 3.4
Terry Jan Reedy [Thu, 3 Sep 2015 02:07:44 +0000 (22:07 -0400)]
Issue #21192: Change 'RUN' back to 'RESTART' when running editor file.
Victor Stinner [Wed, 2 Sep 2015 22:14:58 +0000 (00:14 +0200)]
oops, rename pymonotonic_new() to pymonotonic()
I was not supposed to commit the function with the name pymonotonic_new(). I
forgot to rename it.
Victor Stinner [Wed, 2 Sep 2015 22:13:46 +0000 (00:13 +0200)]
Issue #24707: Remove assertion in monotonic clock
Don't check anymore at runtime that the monotonic clock doesn't go backward.
Yes, it happens. It occurs sometimes each month on a Debian buildbot slave
running in a VM.
The problem is that Python cannot do anything useful if a monotonic clock goes
backward. It was decided in the PEP 418 to not fix the system, but only expose
the clock provided by the OS.
Victor Stinner [Wed, 2 Sep 2015 22:09:26 +0000 (00:09 +0200)]
Merge 3.4 (test_warnings)
Victor Stinner [Wed, 2 Sep 2015 22:07:47 +0000 (00:07 +0200)]
Fix test_warnings: don't modify warnings.filters
BaseTest now ensures that unittest.TestCase.assertWarns() uses the same
warnings module than warnings.catch_warnings(). Otherwise,
warnings.catch_warnings() will be unable to remove the added filter.
Victor Stinner [Wed, 2 Sep 2015 21:21:03 +0000 (23:21 +0200)]
Merge 3.4 (test_gdb)
Victor Stinner [Wed, 2 Sep 2015 21:19:55 +0000 (23:19 +0200)]
test_gdb: use subprocess.Popen context manager to fix ResourceWarning warnings
when the test is interrupted (or fail).
Victor Stinner [Wed, 2 Sep 2015 21:12:14 +0000 (23:12 +0200)]
test_gdb: fix regex to parse gdb version for SUSE Linux Entreprise
Mention also the detected GDB version on verbose mode and on error (if the
major version is smaller than 7).
Zachary Ware [Wed, 2 Sep 2015 18:21:19 +0000 (13:21 -0500)]
Turn 'rem' comments into a real usage message in PCbuild/build.bat
Also fixes error in 'kill' target (already fixed in 2.7, somehow the fix
didn't make it to this branch).
Yury Selivanov [Wed, 2 Sep 2015 19:49:30 +0000 (15:49 -0400)]
Merge 3.5 heads (issue #24975)
Victor Stinner [Wed, 2 Sep 2015 13:40:56 +0000 (15:40 +0200)]
Merge 3.4 (asyncio doc)
Victor Stinner [Wed, 2 Sep 2015 13:39:01 +0000 (15:39 +0200)]
asyncio doc: fix subprocess sections
Yury Selivanov [Tue, 1 Sep 2015 20:10:49 +0000 (16:10 -0400)]
Issue #24975: Fix AST compilation for PEP 448 syntax.
Raymond Hettinger [Tue, 1 Sep 2015 09:33:02 +0000 (02:33 -0700)]
Improve tutorial suggestion for looping techniques
Yury Selivanov [Mon, 31 Aug 2015 15:42:31 +0000 (11:42 -0400)]
Make asyncio provisional
Martin Panter [Mon, 31 Aug 2015 03:25:34 +0000 (03:25 +0000)]
Issue #24952: Merge 3.4 into 3.5
Martin Panter [Mon, 31 Aug 2015 03:15:52 +0000 (03:15 +0000)]
Issue #24952: Clarify default argument of stack_size() in threading, _thread
Patch from Mattip.
Benjamin Peterson [Sun, 30 Aug 2015 21:42:49 +0000 (14:42 -0700)]
merge 3.4 (#24963)
Benjamin Peterson [Sun, 30 Aug 2015 21:42:38 +0000 (14:42 -0700)]
fix spelling that was a bit confused (closes #24963)
Raymond Hettinger [Sun, 30 Aug 2015 16:15:36 +0000 (09:15 -0700)]
merge
Raymond Hettinger [Sun, 30 Aug 2015 16:13:48 +0000 (09:13 -0700)]
Issue #24931: Resolve __dict__ conflict in namedtuple subclasses.
Zachary Ware [Sun, 30 Aug 2015 03:39:47 +0000 (22:39 -0500)]
Issue #24272: Remove usage of default reST role from typing docs
Zachary Ware [Sun, 30 Aug 2015 03:26:54 +0000 (22:26 -0500)]
Issue #24962: Merge 3.4
Zachary Ware [Sun, 30 Aug 2015 03:25:04 +0000 (22:25 -0500)]
Issue #24962: Remove space from filename
Donald Stufft [Sat, 29 Aug 2015 22:00:26 +0000 (18:00 -0400)]
Null Merge from 3.5.0 to 3.5.1
Donald Stufft [Sat, 29 Aug 2015 17:57:46 +0000 (13:57 -0400)]
Update setuptools to 18.2 and pip to 7.1.2
Zachary Ware [Sat, 29 Aug 2015 04:52:31 +0000 (23:52 -0500)]
Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows