R David Murray
17227a7334
#24998 : fix cut and paste error in subprocess example.
2015-09-04 10:01:19 -04:00
Terry Jan Reedy
d19e2a54ec
Merge with 3.5
2015-09-04 04:38:52 -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
Victor Stinner
110f9e3538
test_time: add tests on HALF_UP rounding mode for _PyTime_ObjectToTime_t() and
...
_PyTime_ObjectToTimespec()
2015-09-04 10:31:16 +02:00
Terry Jan Reedy
1320f08b40
Merge with 3.5
2015-09-04 04:18:11 -04:00
Terry Jan Reedy
3ac1d8206a
Merge 3.5.0 into 3.5.1
2015-09-04 04:16:42 -04:00
Zachary Ware
99cfed77c4
Issue #24986 : Merge with 3.5
2015-09-04 01:12:44 -05: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
f69104f15a
Fixed merge error.
2015-09-04 08:39:33 +03:00
Serhiy Storchaka
6e87576571
Fixed merge error.
2015-09-04 08:38:45 +03:00
Serhiy Storchaka
e1a4c57663
Merge heads
2015-09-04 08:36:05 +03:00
Serhiy Storchaka
8fc0d918eb
Merge 3.5
2015-09-04 08:34:57 +03:00
Serhiy Storchaka
66d1865597
Merge heads
2015-09-04 08:34:01 +03:00
Serhiy Storchaka
6ebe05f57f
Merge 3.5.0
2015-09-04 08:29:00 +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
Zachary Ware
793626adcb
Closes #24986 : Merge with 3.5
2015-09-03 23:53:27 -05:00
Zachary Ware
36f1d554a6
Merge with 3.5
2015-09-03 23:51:07 -05: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
1ebcc9bcb8
Merge from 3.5 for issue #24913
2015-09-03 15:35:33 -07:00
Brett Cannon
84368127ed
Merge from 3.5.0 for issue #24913
2015-09-03 15:34:57 -07:00
Serhiy Storchaka
fb397790d2
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:54 +03: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
fed0931de4
Merge 3.5 (ICC)
2015-09-03 21:34:03 +02: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
f4951059f2
Closes #24974 : Merge with 3.5
2015-09-03 11:54:51 -05: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
fa9dfd4f82
Merge 3.5 (odict)
2015-09-03 17:50:30 +02: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
5786aef382
Don't abuse volatile keyword in pytime.c
...
Only use it on the most important number. This change fixes also a compiler
warning on modf().
2015-09-03 16:33:16 +02:00
Victor Stinner
29ee6745af
Enhance _PyTime_AsTimespec()
...
Ensure that the tv_nsec field is set, even if the function fails
with an overflow.
2015-09-03 16:25:45 +02:00
Victor Stinner
fbb215cb24
Merge 3.5 (namereplace)
2015-09-03 16:20:01 +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
304d528715
Merge 3.5 (test_gdb)
2015-09-03 15:43:06 +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
00723e0353
Fix ast_for_atom()
...
Clear PyObject_Str() exception if it failed, ast_error() should not be called
with an exception set.
2015-09-03 12:57:11 +02:00
Victor Stinner
99bb14bf0c
type_call() now detect bugs in type new and init
...
* Call _Py_CheckFunctionResult() to check for bugs in type
constructors (tp_new)
* Add assertions to ensure an exception was raised if tp_init failed
or that no exception was raised if tp_init succeed
Refactor also the function to have less indentation.
2015-09-03 12:16:49 +02:00
Victor Stinner
31eb5fbe89
Merge 3.5 (null merge)
2015-09-03 12:15:39 +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
d5da634dfc
Merge with 3.6. Fix test_wsgiref execution from the test module.
2015-09-03 02:28:03 -07: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