Commit Graph

15335 Commits

Author SHA1 Message Date
Guido van Rossum 647bae6c52 Issue #24635: Fixed flakiness in test_typing.py. 2015-09-04 12:00:06 -07:00
Victor Stinner 874dbe895d Merge 3.4 (create_stdio) 2015-09-04 17:29:57 +02:00
Victor Stinner 6fb5bae252 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.
2015-09-04 17:27:49 +02:00
Serhiy Storchaka 6e87576571 Fixed merge error. 2015-09-04 08:38:45 +03:00
Serhiy Storchaka 66d1865597 Merge heads 2015-09-04 08:34:01 +03:00
Serhiy Storchaka 58d83aca10 Merge 3.5.0 2015-09-04 08:27:39 +03:00
Serhiy Storchaka 4e63f7a2b4 Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is
set beyond size.  Based on patch by John Leitch.
2015-09-04 07:48:19 +03:00
Zachary Ware b27f3c3e20 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).
2015-09-03 23:43:54 -05:00
Zachary Ware e74fe18ebb 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
2015-09-03 23:43:37 -05:00
Brett Cannon 84368127ed Merge from 3.5.0 for issue #24913 2015-09-03 15:34:57 -07:00
Serhiy Storchaka 594e54c765 Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is
set beyond size.  Based on patch by John Leitch.
2015-09-04 01:08:03 +03:00
Brett Cannon df6b544ff6 Issue #24913: Fix overrun error in deque.index().
Reported by John Leitch and Bryce Darling, patch by Raymond Hettinger.
2015-09-03 10:15:03 -07:00
Victor Stinner ca30b02abe Issue #24992: Fix error handling and a race condition (related to garbage
collection) in collections.OrderedDict constructor.

Patch reviewed by Serhiy Storchaka.
2015-09-03 17:50:04 +02:00
Yury Selivanov 2051b84f44 Merge 3.5 heads (issue #24975) 2015-09-02 15:49:30 -04:00
Yury Selivanov b3d531348c Issue #24975: Fix AST compilation for PEP 448 syntax. 2015-09-01 16:10:49 -04:00
Martin Panter e721b7cb8b Issue #24952: Merge 3.4 into 3.5 2015-08-31 03:25:34 +00:00
Martin Panter 31e7f50d4c Issue #24952: Clarify default argument of stack_size() in threading, _thread
Patch from Mattip.
2015-08-31 03:15:52 +00:00
Raymond Hettinger 7a3602e7cf Issue #24931: Resolve __dict__ conflict in namedtuple subclasses. 2015-08-30 09:13:48 -07:00
Serhiy Storchaka f0f55a00b7 Issue #24881: Fixed setting binary mode in Python implementation of FileIO
on Windows and Cygwin.  Patch from Akira Li.
2015-08-28 22:17:04 +03:00
Robert Collins 079fc7faff Issue #21112: Fix regression in unittest.expectedFailure on subclasses.
Patch from Berker Peksag.
2015-08-28 10:35:14 +12:00
Robert Collins ed599b7c84 Issue #21112: Fix regression in unittest.expectedFailure on subclasses.
Patch from Berker Peksag.
2015-08-28 10:34:51 +12:00
Raymond Hettinger 87674ec7d5 Issue #24913: Fix overrun error in deque.index(). 2015-08-26 08:08:38 -07:00
Larry Hastings 9783e443bc Misc/NEWS needs a Python 3.5.0rc3 section in 3.5 and trunk. 2015-08-25 17:21:22 -07:00
Larry Hastings 06a7d611da Merge from Python 3.5.0 (rc2) to Python 3.5.1. 2015-08-25 14:13:55 -07:00
Larry Hastings 9126d5499e Added missing #-marks to Misc/NEWS lines. 2015-08-25 14:08:21 -07:00
Larry Hastings abcf3a128e Added missing IDLE updates to Misc/NEWS that shipped with Python 3.5.0rc1. 2015-08-25 13:51:14 -07:00
Larry Hastings b96646684e Move misplaced Misc/NEWS item from 3.5.0rc1 to 3.5.0rc2. 2015-08-25 13:41:35 -07:00
Larry Hastings cd9b2123f6 Add missing Misc/NEWS item for merged pull request for issue #24867. 2015-08-25 13:37:23 -07:00
Larry Hastings a51812ae98 Post-release updates for Python 3.5.0rc2. 2015-08-25 13:30:58 -07:00
Martin Panter 36f22a2820 Issue #24808: Merge 3.4 into 3.5; adjust new tp_as_async field 2015-08-25 05:25:21 +00:00
Martin Panter 78d5033337 Issue #24808: Update the documentation of some PyTypeObject fields
Patch by Joseph Weston.
2015-08-25 05:06:39 +00:00
Larry Hastings e6c6f69ac9 Version bump for Python 3.5.0rc2. 2015-08-24 20:31:53 -07:00
Larry Hastings 1df0b35e3d Issue #24769: Interpreter now starts properly when dynamic loading
is disabled.  Patch by Petr Viktorin.
2015-08-24 19:53:56 -07:00
Larry Hastings 7250d02b73 Merged in 1st1/cpython350 (pull request #5)
Issue #24867: Fix asyncio.Task.get_stack() for 'async def' coroutines
2015-08-24 16:53:45 -07:00
Larry Hastings 90f5bca3b6 Merged in stevedower/cpython350 (pull request #6)
Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk.
2015-08-24 16:47:56 -07:00
Robert Collins 478eadc5f3 Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
2015-08-24 12:15:05 +12:00
Robert Collins a2b0055396 Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
2015-08-24 12:14:28 +12:00
Robert Collins be6caca534 Issue #20362: Honour TestCase.longMessage correctly in assertRegex.
Patch from Ilia Kurenkov.
2015-08-20 11:13:09 +12:00
Steve Dower ab2a34abb7 Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk. 2015-08-19 08:39:12 -07:00
Steve Dower 9f0cbbc376 Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk. 2015-08-18 16:00:56 -07:00
Yury Selivanov ab7cc7598a Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses.
Patch by Ethan Furman.
2015-08-18 14:30:15 -04:00
Yury Selivanov 77a8cd65be Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses.
Patch by Ethan Furman.
2015-08-18 14:20:00 -04:00
Victor Stinner 1e26dc7ef6 (Merge 3.4) cgi.FieldStorage.read_multi ignores Content-Length
Issue #24764: cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.
2015-08-18 10:23:16 -07:00
Victor Stinner 6579459d4b cgi.FieldStorage.read_multi ignores Content-Length
Issue #24764: cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.
2015-08-18 10:21:10 -07:00
Yury Selivanov 7ca6c55a4e Issue #24867: Fix asyncio.Task.get_stack() for 'async def' coroutines 2015-08-17 14:46:51 -04:00
Terry Jan Reedy a3611751f6 Idle NEWS entries. 2015-08-16 22:14:05 -04:00
Terry Jan Reedy 2756d8aa11 Idle NEWS entries. 2015-08-16 22:12:36 -04:00
Robert Collins 5409177b62 Issue #24774: Fix docstring in http.server.test.
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:19:19 +12:00
Robert Collins 9644f2450d Issue #24774: Fix docstring in http.server.test.
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:18:35 +12:00
R David Murray 803502c56b #21167: Fix definition of NAN when ICC used without -fp-model strict.
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
2015-08-15 18:33:45 -04:00