Commit graph

90341 commits

Author SHA1 Message Date
Steve Dower
96d4943846 Reapplied change to test_warnings.py to test_warnings/__init__.py. 2015-09-06 22:30:40 -07:00
Steve Dower
f35bd306ff Merge from 3.5.0 branch. 2015-09-06 22:27:42 -07:00
Larry Hastings
c1635e497d Merged in stevedower/cpython350 (pull request #20)
Issue #25005: Backout fix for #8232 because of use of unsafe subprocess.call(shell=True)
2015-09-06 22:10:22 -07:00
Martin Panter
da19767b86 Issue #25004: Merge 3.4 into 3.5 2015-09-07 04:04:40 +00:00
Martin Panter
6cb196306a Issue #23406: Remove specific line number from susp-ignored.csv 2015-09-07 03:40:17 +00:00
Martin Panter
e8d58d1f02 Issue #25004: Handle out-of-disk-space error in LargeMmapTests
Patch from John Beck.
2015-09-07 02:57:47 +00:00
Steve Dower
e5b5895b5b Issue #24917: time_strftime() buffer over-read. 2015-09-06 19:20:51 -07:00
Martin Panter
06dc2fa3f6 Issue #23406: Merge 3.4 into 3.5 2015-09-07 02:10:59 +00:00
Martin Panter
7f02d6d0d9 Issue #23406: Clarify documentation on multiplying a sequence
Patch from Matheus Vieira Portela.
2015-09-07 02:08:55 +00:00
Ezio Melotti
20a2c6482e #23144: merge with 3.4. 2015-09-06 21:44:45 +03:00
Ezio Melotti
6f2bb98966 #23144: Make sure that HTMLParser.feed() returns all the data, even when convert_charrefs is True. 2015-09-06 21:38:06 +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
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
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
Larry Hastings
055a9e0bc8 Merged in ncoghlan/cpython350 (pull request #17) 2015-09-05 20:53:04 -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
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
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