Serhiy Storchaka
5fbadb63ef
Use support.change_cwd() in tests.
2015-09-06 14:14:49 +03:00
Serhiy Storchaka
2a23adf440
Use support.change_cwd() in tests.
2015-09-06 14:13:25 +03:00
Steve Dower
dcaf4ccf3f
Issue #24917 : Backed out changeset 09b62202d9b7
2015-09-05 23:11:53 -07:00
Steve Dower
ef920d6d5e
Backed out changeset: a29b49d57769
2015-09-05 23:09:00 -07:00
Steve Dower
faa868aeac
Null merge with 3.4
2015-09-05 20:59:41 -07:00
Steve Dower
237060abb4
Merge from 3.5.0 release branch
2015-09-05 20:59:20 -07:00
Steve Dower
0fba9b324f
Issue #24917 : time_strftime() Buffer Over-read. Patch by John Leitch.
2015-09-05 20:55:34 -07:00
Raymond Hettinger
2b2b75374e
Prevent reentrant badness by deferring the decrefs as long as possible.
2015-09-05 17:05:52 -07:00
Terry Jan Reedy
e989bf587c
merge from 3.4
2015-09-05 19:17:24 -04:00
Terry Jan Reedy
ca3f435fe6
Issue #16180 : Exit pdb if file has syntax error, instead of trapping user
...
in an infinite loop. Patch by Xavier de Gaye.
2015-09-05 19:13:26 -04:00
Guido van Rossum
37fdcbc4c3
Issue #24912 : Prevent __class__ assignment to immutable built-in objects. (Merge 3.5.0 -> 3.5)
2015-09-05 15:20:08 -07:00
Steve Dower
f3f2d372e8
Issue #24910 : Windows MSIs now have unique display names.
2015-09-05 12:47:06 -07:00
Steve Dower
699534210c
Issue #24917 : Moves NEWS entry under Library.
2015-09-05 12:23:00 -07:00
Steve Dower
373602fa3f
Issue #24917 : time_strftime() Buffer Over-read. Patch by John Leitch.
2015-09-05 12:16:06 -07:00
Guido van Rossum
7d293ee97d
Issue #24912 : Prevent __class__ assignment to immutable built-in objects.
2015-09-04 20:54:07 -07:00
Guido van Rossum
65d3643085
Null merge (Larry's 3.5 -> 3.5.1).
2015-09-04 12:54:36 -07:00
Guido van Rossum
1b66910537
Fix issue #24635 .
2015-09-04 12:15:54 -07:00
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
R David Murray
d529ebb438
Merge: #24998 : fix cut and paste error in subprocess example.
2015-09-04 10:02:27 -04:00
R David Murray
17227a7334
#24998 : fix cut and paste error in subprocess example.
2015-09-04 10:01:19 -04:00
Terry Jan Reedy
9f5bf0203f
Merge with 3.4
2015-09-04 04:38:17 -04:00
Terry Jan Reedy
4fda56f44b
Issue #24745 : Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily.
2015-09-04 04:37:56 -04:00
Terry Jan Reedy
3ac1d8206a
Merge 3.5.0 into 3.5.1
2015-09-04 04:16:42 -04:00
Zachary Ware
a6deff2588
Issue #24986 : Save some bandwidth from svn.python.org
...
Don't download sources that won't be used.
2015-09-04 01:10:23 -05: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
Larry Hastings
9f9a00afc0
Merged in storchaka/cpython350 (pull request #13 )
...
Issue #24989
2015-09-03 22:12:08 -07: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
Terry Jan Reedy
a43de00b74
Issue #21192 : Change 'RUN' back to 'RESTART' when running editor file.
2015-09-03 21:26:12 -04: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
Victor Stinner
5b6917e60d
Merge 3.4 (ICC)
2015-09-03 21:32:44 +02:00
Victor Stinner
528a9ab1f0
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
2015-09-03 21:30:26 +02: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
Zachary Ware
fda673d59f
Issue #24974 : Force fp-model precice in mpdecimal.c on Windows
...
As suggested by Steve Dower and approved by Stefan Krah.
2015-09-03 11:52:15 -05: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
Victor Stinner
38b8ae0f5b
Issue #24993 : Handle import error in namereplace error handler
...
Handle PyCapsule_Import() failure (exception) in PyCodec_NameReplaceErrors():
return immedialty NULL.
2015-09-03 16:19:40 +02:00
Victor Stinner
aba2466d09
Merge 3.4 (test_gdb)
2015-09-03 15:42:45 +02:00
Victor Stinner
479fea63e1
test_gdb: oops, the regex to parse the gdb version was still too strict
2015-09-03 15:42:26 +02:00
Victor Stinner
c2b43d1fea
Merge 3.4 (test_wsgiref)
...
The support import is not needed in Python 3.5
2015-09-03 12:15:27 +02:00
Victor Stinner
a7b76e0cbe
test_wsgiref: add missing import (support)
2015-09-03 12:14:25 +02:00
Senthil Kumaran
b541e58b7a
Merge with 3.5. Fix test_wsgiref execution from the test module.
2015-09-03 02:27:18 -07:00
Senthil Kumaran
22f2c0e215
Fix test_wsgiref execution from the test module.
2015-09-03 02:26:31 -07:00
Victor Stinner
ccc546c658
Merge 3.4 (test_gdb)
2015-09-03 09:46:11 +02:00
Victor Stinner
26afae4019
test_gdb: fix regex to parse GDB version for 'GNU gdb 6.1.1 [FreeBSD]\n'
2015-09-03 09:45:53 +02:00