Commit graph

91201 commits

Author SHA1 Message Date
Serhiy Storchaka
40dc328cc2 Fix, refactor and extend tests for shutil.make_archive(). 2015-09-06 18:34:22 +03:00
Serhiy Storchaka
2ba39800e5 Fix, refactor and extend tests for shutil.make_archive(). 2015-09-06 18:33:52 +03:00
Serhiy Storchaka
527ef0792f Fix, refactor and extend tests for shutil.make_archive(). 2015-09-06 18:33:19 +03:00
Serhiy Storchaka
8fecd42d26 Use support.change_cwd() in tests. 2015-09-06 14:15:40 +03:00
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
Larry Hastings
714e49371b Issue #24305: Prevent import subsystem stack frames from being counted
by the warnings.warn(stacklevel=) parameter.
2015-09-06 00:39:37 -07:00
Larry Hastings
62b24624dd Backing out 09b62202d9b7; the tests fail on Linux, and it needs a re-think. 2015-09-06 00:31:02 -07:00
Steve Dower
643d6d3135 Issue #24917: Backed out changeset 09b62202d9b7 2015-09-05 23:12:18 -07: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
74a7b8f027 Issue #24917: time_strftime() Buffer Over-read. Patch by John Leitch. 2015-09-05 21:00:33 -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
Larry Hastings
055a9e0bc8 Merged in ncoghlan/cpython350 (pull request #17) 2015-09-05 20:53:04 -07:00
Raymond Hettinger
318c5aef0e merge 2015-09-05 17:06:18 -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
5f9525b115 Merge with 3.5 2015-09-05 19:17:49 -04: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
ba5f59089a Issue #24912: Prevent __class__ assignment to immutable built-in objects. (Merge 3.5 -> 3.6) 2015-09-05 15:20:57 -07: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
6727b3c235 Issue #24910: Windows MSIs now have unique display names. 2015-09-05 12:47:22 -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
Steve Dower
2ebd8f5194 Issue #25005: Backout fix for #8232 because of use of unsafe subprocess.call(shell=True) 2015-09-05 11:57:47 -07:00
Nick Coghlan
9d3c61c86a 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.
2015-09-05 21:05:05 +10:00
Victor Stinner
8820a350d7 Issue #23517: Skip a datetime test on Windows
The test calls gmtime(-1)/localtime(-1) which is not supported on Windows.
2015-09-05 10:50:20 +02:00
Guido van Rossum
7d293ee97d Issue #24912: Prevent __class__ assignment to immutable built-in objects. 2015-09-04 20:54:07 -07:00
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