Victor Stinner
adfefa527a
Issue #23517 : Fix implementation of the ROUND_HALF_UP rounding mode in
...
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp().
microseconds sign should be kept before rounding.
2015-09-04 23:57:25 +02:00
Guido van Rossum
19bbb9af67
Null merge (3.5.1 -> default).
2015-09-04 12:55:13 -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
82b63fadd2
Issue #24635 : Fixed flakiness in test_typing.py. (Merge from 3.5.)
2015-09-04 12:05:03 -07:00
Guido van Rossum
647bae6c52
Issue #24635 : Fixed flakiness in test_typing.py.
2015-09-04 12:00:06 -07:00
Victor Stinner
d05f49924d
Merge 3.5 (create_stdio)
2015-09-04 17:30:48 +02: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
d3639dc21a
Merge: #24998 : fix cut and paste error in subprocess example.
2015-09-04 10:03:03 -04: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
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