Steve Dower
731f4a2c5f
Issue #25163 : Display correct directory in installer when using non-default settings.
2015-10-11 15:37:22 -07:00
Steve Dower
5700ae877f
Issue #25361 : Disables use of SSE2 instructions in Windows 32-bit build
2015-10-11 15:15:52 -07:00
Serhiy Storchaka
0289155b72
Correct Misc/NEWS.
2015-10-10 20:26:16 +03:00
Serhiy Storchaka
9e777730eb
Issue #25364 : zipfile now works in threads disabled builds.
2015-10-10 19:43:32 +03:00
Martin Panter
84835ab1cb
Issue #25161 : Merge full stops from 3.4 into 3.5
2015-10-10 10:44:25 +00:00
Martin Panter
d21e0b52f1
Issue #25161 : Add full stops in documentation; patch by Takase Arihiro
2015-10-10 10:36:22 +00:00
Martin Panter
e02f8fc44d
Issue #24402 : Merge input() fix from 3.4 into 3.5
2015-10-10 01:55:23 +00:00
Martin Panter
c9a6ab56cf
Issue #24402 : Fix input() when stdout.fileno() fails; diagnosed by Eryksun
...
Also factored out some test cases into a new PtyTests class.
2015-10-10 01:25:38 +00:00
Brett Cannon
89065d9fc7
Issue #25099 : Skip relevant tests in test_compileall when an entry on
...
sys.path has an unwritable __pycache__ directory.
This typically comes up when someone runs the test suite from an
administrative install of Python on Windows where the user does not
have write permissions to the stdlib's directory.
Thanks to Zachary Ware and Matthias Klose for reporting bugs related
to this issue.
(grafted from 34bbd537b3e688dfbb6498e9083445a6a72fc4b1)
2015-10-09 15:09:43 -07:00
Brett Cannon
65ed750375
Issue #25099 : Skip relevant tests in test_compileall when an entry on
...
sys.path has an unwritable __pycache__ directory.
This typically comes up when someone runs the test suite from an
administrative install of Python on Windows where the user does not
have write permissions to the stdlib's directory.
Thanks to Zachary Ware and Matthias Klose for reporting bugs related
to this issue.
2015-10-09 15:09:43 -07:00
R David Murray
1a815389cc
#25328 : add missing raise keyword in decode_data+SMTPUTF8 check.
...
This is a relatively benign bug, since having both be true was correctly
rejected at in SMTPServer even before this patch.
Patch by Xiang Zhang.
2015-10-09 10:19:33 -04:00
Steve Dower
5ae56919ab
Issue #25089 : Adds logging to installer for case where launcher is not selected on upgrade.
2015-10-08 09:55:49 -07:00
Steve Dower
12ee7448f8
Issue #23919 : Prevents assert dialogs appearing in the test suite.
2015-10-08 08:56:06 -07:00
Martin Panter
ec1aa5c2a1
More typos in 3.5 documentation and comments
2015-10-07 11:03:53 +00:00
Martin Panter
3f930dcd87
Merge typo fixes from 3.4 into 3.5
2015-10-07 11:01:47 +00:00
Martin Panter
9955a373a8
Various minor typos in documentation and comments
2015-10-07 10:26:23 +00:00
Benjamin Peterson
59dc696821
merge 3.4 ( #24806 )
2015-10-06 19:42:02 -07:00
Benjamin Peterson
bd6c41a185
prevent unacceptable bases from becoming bases through multiple inheritance ( #24806 )
2015-10-06 19:36:54 -07:00
Benjamin Peterson
72181b2f53
merge 3.4 ( #25319 )
2015-10-05 22:00:33 -07:00
Benjamin Peterson
15982aad2b
reinitialize an Event's Condition with a regular lock ( closes #25319 )
2015-10-05 21:56:22 -07:00
Steve Dower
f0ccf02e56
Issue #25316 : distutils raises OSError instead of DistutilsPlatformError when MSVC is not installed.
2015-10-05 10:35:00 -07:00
Guido van Rossum
eda1955d82
Issue #23972 : updates to asyncio datagram API. By Chris Laws. (Merge 3.4->3.5.)
2015-10-05 09:19:11 -07:00
Guido van Rossum
b9bf913ab3
Issue #23972 : updates to asyncio datagram API. By Chris Laws.
2015-10-05 09:15:28 -07:00
Terry Jan Reedy
e25511a566
Issue #24820 : Update IDLE NEWS items.
2015-10-04 01:17:13 -04:00
Terry Jan Reedy
d17e9785de
Issue #24820 : Update IDLE NEWS items.
2015-10-04 01:14:51 -04:00
Terry Jan Reedy
67618272ae
Issue #24791 : Escape rst markup char in NEWS entry to avoid Sphinx warning.
2015-10-03 23:01:46 -04:00
Guido van Rossum
0d9bef927b
Issue #25304 : Add asyncio.run_coroutine_threadsafe(). By Vincent Michel. (Merge 3.4->3.5.)
2015-10-03 08:34:34 -07:00
Guido van Rossum
841d9ee41a
Issue #25304 : Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.
2015-10-03 08:31:42 -07:00
Martin Panter
56b76d25dd
Issues #25232 , #24657 : Merge two CGI server fixes from 3.4 into 3.5
2015-10-03 06:03:25 +00:00
Martin Panter
cb29e8c0e5
Issue #24657 : Prevent CGIRequestHandler from collapsing the URL query
...
Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc
string.
2015-10-03 05:55:46 +00:00
Martin Panter
a02e18a43f
Issue #25232 : Fix CGIRequestHandler's splitting of URL query
...
Patch from Xiang Zhang.
2015-10-03 05:38:07 +00:00
Yury Selivanov
43d71e2512
asyncio: Make ensure_future() accept all kinds of awaitables.
2015-10-02 15:05:59 -04:00
Serhiy Storchaka
58c8f2bb6d
Issue #24848 : Fixed bugs in UTF-7 decoding of misformed data:
...
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
3. In some circumstances the '\xfd' character was produced instead of the
replacement character '\ufffd' (due to a bug in _PyUnicodeWriter).
2015-10-02 13:13:14 +03:00
Serhiy Storchaka
28b21e50c8
Issue #24848 : Fixed bugs in UTF-7 decoding of misformed data:
...
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
2015-10-02 13:07:28 +03:00
Serhiy Storchaka
b9d98d532c
Issue #24483 : C implementation of functools.lru_cache() now calculates key's
...
hash only once.
2015-10-02 12:47:11 +03:00
Steve Dower
c9fda9b903
Issue #25165 : Windows uninstallation should not remove launcher if other versions remain
2015-10-01 15:19:39 -07:00
Serhiy Storchaka
0b40aab6f0
Issue #25280 : Import trace messages emitted in verbose (-v) mode are no
...
longer formatted twice.
2015-10-01 11:40:22 +03:00
Serhiy Storchaka
f731bc09fa
Issue #25280 : Import trace messages emitted in verbose (-v) mode are no
...
longer formatted twice.
2015-10-01 11:08:50 +03:00
Victor Stinner
78cc2e8968
Issue #25003 : os.urandom() doesn't use getentropy() on Solaris because
...
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.
2015-10-01 09:59:32 +02:00
Victor Stinner
bae2d6203f
Issue #25003 : On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
...
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
2015-10-01 09:47:30 +02:00
Serhiy Storchaka
008fc77e1e
Issue #25182 : The stdprinter (used as sys.stderr before the io module is
...
imported at startup) now uses the backslashreplace error handler.
2015-09-30 15:50:32 +03:00
Serhiy Storchaka
a59018c7ab
Issue #25182 : The stdprinter (used as sys.stderr before the io module is
...
imported at startup) now uses the backslashreplace error handler.
2015-09-30 15:46:53 +03:00
Serhiy Storchaka
f1c780870a
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:52:42 +03:00
Serhiy Storchaka
b5102e3550
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:52:09 +03:00
Serhiy Storchaka
f4ee1c23e8
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:37:09 +03:00
Serhiy Storchaka
68f5ef226e
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:36:06 +03:00
Serhiy Storchaka
3066fc41d1
Issue #25111 : Fixed comparison of traceback.FrameSummary.
2015-09-29 22:33:36 +03:00
Serhiy Storchaka
525faaeffc
Issue #25262 . Added support for BINBYTES8 opcode in Python implementation of
...
unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:12:29 +03:00
Serhiy Storchaka
e060619d4b
Issue #25262 . Added support for BINBYTES8 opcode in Python implementation of
...
unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:10:07 +03:00
Guido van Rossum
28d982dfc5
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge 3.4->3.5.)
2015-09-29 12:00:01 -07:00
Guido van Rossum
d455a50773
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo).
2015-09-29 11:54:45 -07:00
Eric V. Smith
ad4003c7fb
Issue #25034 : Merge from 3.4.
2015-09-29 10:30:04 -04:00
Eric V. Smith
85976b14dd
Fixed issue #25034 : Fix string.Formatter problem with auto-numbering
...
and nested format_specs. Patch by Anthon van der Neut.
2015-09-29 10:27:38 -04:00
Terry Jan Reedy
c69b37ff4e
Merge with 3.4
2015-09-29 01:01:00 -04:00
Terry Jan Reedy
f38356adbb
Remove indent in news item. Error when building 3.x docs.
2015-09-29 01:00:31 -04:00
Terry Jan Reedy
86e971ccb3
IDLE NEWS items.
2015-09-28 23:42:56 -04:00
Terry Jan Reedy
9af7fe76ff
Add recent IDLE NEWS items.
2015-09-28 23:38:57 -04:00
Guido van Rossum
ab9e936bd9
Correct Misc/NEWS about asyncio.Queue rewrite.
2015-09-28 16:51:59 -07:00
Guido van Rossum
9af30ac669
Correct Misc/NEWS about asyncio.Queue rewrite.
2015-09-28 16:50:38 -07:00
Guido van Rossum
d2f184652c
Issue #25233 : Rewrite the guts of Queue to be more understandable and correct. (Merge 3.4->3.5.)
2015-09-28 07:44:49 -07:00
Guido van Rossum
99f96c5451
Issue #25233 : Rewrite the guts of Queue to be more understandable and correct.
2015-09-28 07:42:34 -07:00
Alexander Belopolsky
365ba8f6c1
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 22:32:15 -04:00
Alexander Belopolsky
edc6885b3f
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 22:31:45 -04:00
Serhiy Storchaka
36aff2db4a
Issue #25203 : Failed readline.set_completer_delims() no longer left the
...
module in inconsistent state.
2015-09-27 22:38:01 +03:00
Serhiy Storchaka
1138439376
Issue #25203 : Failed readline.set_completer_delims() no longer left the
...
module in inconsistent state.
2015-09-27 22:34:59 +03:00
Benjamin Peterson
d330822c12
detect alpn by feature flag not openssl version ( closes #23329 )
2015-09-27 00:09:02 -07:00
Raymond Hettinger
bf49fee125
Issue #25135 : Avoid possible reentrancy issues in deque_clear.
2015-09-26 00:14:59 -07:00
Benjamin Peterson
03c59b9bef
merge 3.4
2015-09-26 00:09:32 -07:00
Benjamin Peterson
e48cf7e729
prevent overflow in _Unpickler_Read
2015-09-26 00:08:34 -07:00
Benjamin Peterson
58b53953f8
make opening brace of container literals and comprehensions correspond to the line number and col offset of the AST node ( closes #25131 )
2015-09-25 22:44:43 -07:00
Andrew Svetlov
1c99e529dd
Merge 3.4 -> 3.5
2015-09-24 14:35:16 +03:00
Andrew Svetlov
74edd3580e
Add Benjamin Hodgson to Misc/ACK
2015-09-24 14:34:07 +03:00
Martin Panter
e52c41a714
Issue #12067 : Merge comparisons doc from 3.4 into 3.5
2015-09-23 05:34:48 +00:00
Martin Panter
aa0da864b8
Issue #12067 : Rewrite Comparisons section in the language reference
...
Some of the details of comparing mixed types were incorrect or ambiguous.
NotImplemented is only relevant at a lower level than the Expressions
chapter. Added details of comparing range() objects, and default behaviour
and consistency suggestions for user-defined classes. Patch from Andy Maier.
2015-09-23 05:28:13 +00:00
Martin Panter
982a08f8bb
Issue #25047 : Merge Element Tree encoding from 3.4 into 3.5
2015-09-23 01:43:08 +00:00
Steve Dower
5f62112db4
Issues #25112 : py.exe launcher is missing icons
2015-09-22 18:20:58 -07:00
Martin Panter
89f76d3f91
Issue #25047 : Respect case writing XML encoding declarations
...
This restores the ability to write encoding names in uppercase like "UTF-8",
which worked in Python 2.
2015-09-23 01:14:35 +00:00
Steve Dower
64a3387d69
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
2015-09-22 17:29:51 -07:00
Steve Dower
b9f4feab1b
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
2015-09-22 17:23:39 -07:00
Steve Dower
a2ea0e4804
Issue #25102 : Windows installer does not precompile for -O or -OO.
2015-09-22 16:45:19 -07:00
Steve Dower
44fe401aa3
Issue #25081 : Makes Back button in installer go back to upgrade page when upgrading.
2015-09-22 16:36:33 -07:00
Steve Dower
14b9e6c6a7
Issue #25126 : Clarifies that the non-web installer will download some components.
2015-09-22 16:36:33 -07:00
Steve Dower
bc25032c92
Issue #25091 : Increases font size of the installer.
2015-09-22 16:36:29 -07:00
Steve Dower
57ab1cdb15
Issue #25092 : Fix datetime.strftime() failure when errno was already set to EINVAL.
2015-09-22 14:51:42 -07:00
Steve Dower
3a0f471e5f
Issue #25213 : Restores requestedExecutionLevel to manifest to disable UAC virtualization.
2015-09-22 14:33:31 -07:00
Terry Jan Reedy
5e999fc00a
Issue #16893 : Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
...
Change destination to help.html. Adjust NEWS entries.
2015-09-21 22:38:47 -04:00
Terry Jan Reedy
cba1a1a000
Issue #16893 : Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
...
Change destination to help.html. Adjust NEWS entries.
2015-09-21 22:36:42 -04:00
Terry Jan Reedy
e90bb44347
Marge 3.4
2015-09-21 19:33:14 -04:00
Terry Jan Reedy
d9763c2ce4
Issue #24861 : add Idle news item and correct previous errors.
2015-09-21 19:28:22 -04:00
Victor Stinner
7b58a2bb1d
Merge 3.4 (asyncio)
2015-09-21 18:41:05 +02:00
Victor Stinner
5e4a7d8dc7
Issue #23630 , asyncio: host parameter of loop.create_server() can now be a
...
sequence of strings. Patch written by Yann Sionneau.
2015-09-21 18:33:43 +02:00
Terry Jan Reedy
c8c5a331ff
Add NEWS items for Idle.
2015-09-20 23:23:44 -04:00
Terry Jan Reedy
bb5f83f181
Add NEWS items for Idle.
2015-09-20 23:21:22 -04:00
Martin Panter
926be1b0ec
Issue #25176 : Merge cgi.parse_qsl link from 3.4 into 3.5
2015-09-20 01:07:41 +00:00
Martin Panter
cebfdac32c
Issue #25176 : Correct link for cgi.parse_qsl; patch from Ville Skyttä
2015-09-20 00:28:50 +00:00
Brett Cannon
7188a3efe0
Issue #24915 : Add Clang support to PGO builds and use the test suite
...
for profile data.
Thanks to Alecsandru Patrascu of Intel for the initial patch.
2015-09-18 15:13:44 -07:00
Victor Stinner
6df29ada02
Issue #25150 : Hide the private _Py_atomic_xxx symbols from the public
...
Python.h header to fix a compilation error with OpenMP. PyThreadState_GET()
becomes an alias to PyThreadState_Get() to avoid ABI incompatibilies.
It is important that the _PyThreadState_Current variable is always accessed
with the same implementation of pyatomic.h. Use the PyThreadState_Get()
function so extension modules will all reuse the same implementation.
2015-09-18 15:06:34 +02:00
Victor Stinner
84ff4abd79
Merge 3.4 (datetime rounding)
2015-09-18 14:50:18 +02:00
Victor Stinner
511491ade0
Issue #23517 : Fix rounding in fromtimestamp() and utcfromtimestamp() methods
...
of datetime.datetime: microseconds are now rounded to nearest with ties going
to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards
zero (ROUND_DOWN). It's important that these methods use the same rounding
mode than datetime.timedelta to keep the property:
(datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t)
It also the rounding mode used by round(float) for example.
Add more unit tests on the rounding mode in test_datetime.
2015-09-18 14:42:05 +02:00
Victor Stinner
02d6a25bea
Issue #25155 : document the bugfix in Misc/NEWS
...
Oops, I forgot to document my change.
2015-09-18 13:59:09 +02:00
Serhiy Storchaka
e953ba794c
Issue #25108 : Omitted internal frames in traceback functions print_stack(),
...
format_stack(), and extract_stack() called without arguments.
2015-09-18 10:04:47 +03:00
Victor Stinner
d3ffd32767
Issue #25118 : Fix a regression of Python 3.5.0 in os.waitpid() on Windows.
...
Add an unit test on os.waitpid()
2015-09-15 10:11:03 +02:00
Larry Hastings
9c51f89cd6
Merge release engineering work from Python 3.5.0.
2015-09-13 15:43:21 +01:00
Larry Hastings
82c0c69011
Post-release updates for Python 3.5.0.
2015-09-13 15:36:07 +01:00
Larry Hastings
f92f6c8e56
Version bump for Python 3.5.0 final.
2015-09-12 17:28:39 +01:00
Larry Hastings
fcdd34d263
Regenerate pydoc topics, fix minor non-RST formatting in Misc/NEWS.
2015-09-12 17:24:02 +01:00
Steve Dower
729aa1462a
Adds 3.5.0 header to Misc/NEWS
2015-09-11 11:29:07 -07:00
Steve Dower
6695c2e356
Merge from 3.5.0
2015-09-11 11:27:45 -07:00
Steve Dower
76b7133f58
Issue #25071 : Windows installer should not require TargetDir parameter when installing quietly
2015-09-11 10:56:59 -07:00
Victor Stinner
f9fdfa7c4e
Merge 3.4
2015-09-11 12:38:17 +02:00
Victor Stinner
ec1a498a01
Issue #24684 : socket.socket.getaddrinfo() now calls
...
PyUnicode_AsEncodedString() instead of calling the encode() method of the
host, to handle correctly custom string with an encode() method which doesn't
return a byte string. The encoder of the IDNA codec is now called directly
instead of calling the encode() method of the string.
2015-09-11 12:37:30 +02:00
Martin Panter
0e8e78e15d
Issue #25030 : Merge seek() doc fixes from 3.4 into 3.5
2015-09-11 04:39:31 +00:00
Benjamin Peterson
b685515039
compute stack effect of BUILD_MAP correctly ( closes #25060 )
2015-09-10 21:02:39 -07:00
Martin Panter
db4220ea09
Issue #25030 : Do not document seek() as if it accepts keyword arguments
...
Patch from Shiyao Ma.
2015-09-11 03:58:30 +00:00
Zachary Ware
31ce9ac867
Issue #25022 : Merge with 3.4
2015-09-10 16:08:21 -05:00
Zachary Ware
3d9a9d47a8
Issue #25022 : Add NEWS, fix docs to not mention the old example.
2015-09-10 15:50:58 -05:00
Berker Peksag
29bf4d403d
Issue #24857 : Comparing call_args to a long sequence now correctly returns a
...
boolean result instead of raising an exception.
Patch by A Kaptur.
2015-09-09 23:39:45 +03:00
Berker Peksag
3fc536f1c9
Issue #24857 : Comparing call_args to a long sequence now correctly returns a
...
boolean result instead of raising an exception.
Patch by A Kaptur.
2015-09-09 23:35:25 +03:00
Larry Hastings
ded28e3863
Merge Python 3.5.0rc4 back to hg.python.org.
2015-09-09 06:52:38 -07:00
Larry Hastings
1043f95b9b
Version bump for Python 3.5.0rc4.
2015-09-08 23:58:10 -07:00
Martin Panter
24a9bd0d39
Issue #24984 : Merge 3.4 into 3.5
2015-09-09 06:48:55 +00:00
Martin Panter
d1a98587fe
Issue #24984 : Document AF_BLUETOOTH socket address formats
...
Patch from Tim Tisdall.
2015-09-09 06:47:58 +00:00
Larry Hastings
c31b6d191f
Merge 3.5.0rc3 revisions back into current 3.5.0 head.
2015-09-08 22:45:37 -07:00
Steve Dower
fcbe1df4af
Issue #25027 : Reverts partial-static build options and adds vcruntime140.dll to Windows installation.
2015-09-08 21:39:01 -07:00
Steve Dower
0130e2991d
Adds Mics/NEWS entry for issue #25029 .
2015-09-08 21:27:47 -07:00
Larry Hastings
f772e91412
Added Misc/NEWS section for Python 3.5.0 final.
2015-09-08 21:19:48 -07:00
Serhiy Storchaka
d941d7a586
Issue #24982 : shutil.make_archive() with the "zip" format now adds entries
...
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
2015-09-08 05:51:00 +03:00
Serhiy Storchaka
2504cecebd
Issue #24982 : shutil.make_archive() with the "zip" format now adds entries
...
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
2015-09-08 05:47:23 +03:00
Serhiy Storchaka
3b1bc7828d
Issue #25019 : Fixed a crash caused by setting non-string key of expat parser.
...
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
2015-09-07 22:38:34 +03:00
Serhiy Storchaka
931331a328
Issue #25019 : Fixed a crash caused by setting non-string key of expat parser.
...
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
2015-09-07 22:37:02 +03:00
Larry Hastings
c8c47f55e6
Merge heads.
2015-09-07 05:16:38 -07:00
Larry Hastings
442c560bd8
Version bump for Python 3.5.0rc3.
2015-09-07 05:12:05 -07:00
Steve Dower
f35bd306ff
Merge from 3.5.0 branch.
2015-09-06 22:27:42 -07:00
Steve Dower
aa2fcc6b35
Issue #24917 : time_strftime() buffer over-read.
2015-09-06 22:18:36 -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
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
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
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
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
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
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
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
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
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
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
Yury Selivanov
2051b84f44
Merge 3.5 heads (issue #24975 )
2015-09-02 15:49:30 -04:00
Yury Selivanov
b3d531348c
Issue #24975 : Fix AST compilation for PEP 448 syntax.
2015-09-01 16:10:49 -04:00
Martin Panter
e721b7cb8b
Issue #24952 : Merge 3.4 into 3.5
2015-08-31 03:25:34 +00:00
Martin Panter
31e7f50d4c
Issue #24952 : Clarify default argument of stack_size() in threading, _thread
...
Patch from Mattip.
2015-08-31 03:15:52 +00:00
Raymond Hettinger
7a3602e7cf
Issue #24931 : Resolve __dict__ conflict in namedtuple subclasses.
2015-08-30 09:13:48 -07:00
Serhiy Storchaka
f0f55a00b7
Issue #24881 : Fixed setting binary mode in Python implementation of FileIO
...
on Windows and Cygwin. Patch from Akira Li.
2015-08-28 22:17:04 +03:00
Robert Collins
079fc7faff
Issue #21112 : Fix regression in unittest.expectedFailure on subclasses.
...
Patch from Berker Peksag.
2015-08-28 10:35:14 +12:00
Robert Collins
ed599b7c84
Issue #21112 : Fix regression in unittest.expectedFailure on subclasses.
...
Patch from Berker Peksag.
2015-08-28 10:34:51 +12:00
Raymond Hettinger
87674ec7d5
Issue #24913 : Fix overrun error in deque.index().
2015-08-26 08:08:38 -07:00
Larry Hastings
9783e443bc
Misc/NEWS needs a Python 3.5.0rc3 section in 3.5 and trunk.
2015-08-25 17:21:22 -07:00
Larry Hastings
06a7d611da
Merge from Python 3.5.0 (rc2) to Python 3.5.1.
2015-08-25 14:13:55 -07:00
Larry Hastings
9126d5499e
Added missing #-marks to Misc/NEWS lines.
2015-08-25 14:08:21 -07:00
Larry Hastings
abcf3a128e
Added missing IDLE updates to Misc/NEWS that shipped with Python 3.5.0rc1.
2015-08-25 13:51:14 -07:00
Larry Hastings
b96646684e
Move misplaced Misc/NEWS item from 3.5.0rc1 to 3.5.0rc2.
2015-08-25 13:41:35 -07:00
Larry Hastings
cd9b2123f6
Add missing Misc/NEWS item for merged pull request for issue #24867 .
2015-08-25 13:37:23 -07:00
Larry Hastings
a51812ae98
Post-release updates for Python 3.5.0rc2.
2015-08-25 13:30:58 -07:00
Martin Panter
36f22a2820
Issue #24808 : Merge 3.4 into 3.5; adjust new tp_as_async field
2015-08-25 05:25:21 +00:00
Martin Panter
78d5033337
Issue #24808 : Update the documentation of some PyTypeObject fields
...
Patch by Joseph Weston.
2015-08-25 05:06:39 +00:00
Berker Peksag
ef4554f716
Issue #10708 : Add a link to devguide in Misc/Porting.
2015-08-25 07:18:21 +03:00
Larry Hastings
e6c6f69ac9
Version bump for Python 3.5.0rc2.
2015-08-24 20:31:53 -07:00
Larry Hastings
1df0b35e3d
Issue #24769 : Interpreter now starts properly when dynamic loading
...
is disabled. Patch by Petr Viktorin.
2015-08-24 19:53:56 -07:00
Larry Hastings
7250d02b73
Merged in 1st1/cpython350 (pull request #5 )
...
Issue #24867 : Fix asyncio.Task.get_stack() for 'async def' coroutines
2015-08-24 16:53:45 -07:00
Larry Hastings
90f5bca3b6
Merged in stevedower/cpython350 (pull request #6 )
...
Issue #24847 : Removes vcruntime140.dll dependency from Tcl/Tk.
2015-08-24 16:47:56 -07:00
Robert Collins
478eadc5f3
Issue #22812 : Fix unittest discovery examples.
...
Patch from Pam McA'Nulty.
2015-08-24 12:15:05 +12:00
Robert Collins
a2b0055396
Issue #22812 : Fix unittest discovery examples.
...
Patch from Pam McA'Nulty.
2015-08-24 12:14:28 +12:00
Robert Collins
be6caca534
Issue #20362 : Honour TestCase.longMessage correctly in assertRegex.
...
Patch from Ilia Kurenkov.
2015-08-20 11:13:09 +12:00
Steve Dower
ab2a34abb7
Issue #24847 : Removes vcruntime140.dll dependency from Tcl/Tk.
2015-08-19 08:39:12 -07:00
Steve Dower
9f0cbbc376
Issue #24847 : Removes vcruntime140.dll dependency from Tcl/Tk.
2015-08-18 16:00:56 -07:00
Yury Selivanov
ab7cc7598a
Issue #23572 : Fixed functools.singledispatch on classes with falsy metaclasses.
...
Patch by Ethan Furman.
2015-08-18 14:30:15 -04:00
Yury Selivanov
77a8cd65be
Issue #23572 : Fixed functools.singledispatch on classes with falsy metaclasses.
...
Patch by Ethan Furman.
2015-08-18 14:20:00 -04:00
Victor Stinner
1e26dc7ef6
(Merge 3.4) cgi.FieldStorage.read_multi ignores Content-Length
...
Issue #24764 : cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.
2015-08-18 10:23:16 -07:00
Victor Stinner
6579459d4b
cgi.FieldStorage.read_multi ignores Content-Length
...
Issue #24764 : cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.
2015-08-18 10:21:10 -07:00
Yury Selivanov
7ca6c55a4e
Issue #24867 : Fix asyncio.Task.get_stack() for 'async def' coroutines
2015-08-17 14:46:51 -04:00
Terry Jan Reedy
a3611751f6
Idle NEWS entries.
2015-08-16 22:14:05 -04:00
Terry Jan Reedy
2756d8aa11
Idle NEWS entries.
2015-08-16 22:12:36 -04:00
Terry Jan Reedy
ac28169696
Merge with 3.4
2015-08-16 21:54:58 -04:00
Terry Jan Reedy
a350e856c3
Issue #23672 : ACKS
2015-08-16 21:54:39 -04:00
Robert Collins
5409177b62
Issue #24774 : Fix docstring in http.server.test.
...
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:19:19 +12:00
Robert Collins
9644f2450d
Issue #24774 : Fix docstring in http.server.test.
...
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:18:35 +12:00
R David Murray
803502c56b
#21167 : Fix definition of NAN when ICC used without -fp-model strict.
...
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
2015-08-15 18:33:45 -04:00
Yury Selivanov
bb78adeece
Merge 3.4 (Issue #24867 )
2015-08-14 15:32:37 -04:00
Brett Cannon
7c97a05618
Merge from 3.5.0 for issue #24492
2015-08-14 11:06:43 -07:00
Robert Collins
f7a92673ab
Issue #21159 : Improve message in configparser.InterpolationMissingOptionError.
...
Patch from Łukasz Langa.
2015-08-14 11:47:41 +12:00
Robert Collins
ac37ba0742
Issue #21159 : Improve message in configparser.InterpolationMissingOptionError.
...
Patch from Łukasz Langa.
2015-08-14 11:11:35 +12:00
R David Murray
c77088d055
Merge: #21167 : Fix definition of NAN when ICC used without -fp-model strict.
2015-08-13 10:04:21 -04:00
R David Murray
edbc28ce81
#21167 : Fix definition of NAN when ICC used without -fp-model strict.
...
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
2015-08-13 09:58:07 -04:00
Robert Collins
2ebdc13d11
Issue #23725 : Overhaul tempfile docs.
...
Patch from Zbigniew Jędrzejewski-Szmek.
2015-08-13 11:38:02 +12:00
larry
6707906ea5
Merged in brettcannon/cpython350/3.5 (pull request #2 )
...
Issue #24492 : make sure that ``from ... import ...` raises an ImportError if __name__ is not defined on a package.
2015-08-11 18:59:15 -07:00
Steve Dower
9b8a1fa023
Issue #24847 : Fixes tcltk installer layout of VC runtime DLL
2015-08-11 18:49:13 -07:00
Brett Cannon
3008bc0f4a
Issue #24492 : make sure that ``from ... import ...` raises an
...
ImportError if __name__ is not defined on a package.
Thanks to Armin Rigo for the bug report and diagnosing the cause.
2015-08-11 18:01:31 -07:00
Steve Dower
cae101f5ec
Issue #24839 : platform._syscmd_ver raises DeprecationWarning
2015-08-10 20:57:37 -07:00
Larry Hastings
2ab6ddb19d
Post-release bump for Python 3.5.0rc1.
2015-08-10 18:03:52 -07:00
Serhiy Storchaka
89e51221b6
Fixed doubled spaces in Misc/NEWS.
2015-08-09 13:11:36 +03:00
Serhiy Storchaka
054d3cdde8
Fixed doubled spaces in Misc/NEWS.
2015-08-09 13:07:18 +03:00
Serhiy Storchaka
c97a962e08
Issue #24824 : Signatures of codecs.encode() and codecs.decode() now are
...
compatible with pydoc.
2015-08-09 12:23:08 +03:00
Robert Collins
d84b29f805
Issue #4395 : Better testing and documentation of binary operators.
...
Patch by Martin Panter.
2015-08-07 10:22:54 +12:00
Berker Peksag
86b34da5ef
Issue #23004 : mock_open() now reads binary data correctly when the type of read_data is bytes.
...
Initial patch by Aaron Hill.
2015-08-06 13:15:51 +03:00
Yury Selivanov
3fc0f2d288
Issue #23812 : Fix asyncio.Queue.get() to avoid loosing items on cancellation.
...
Patch by Gustavo J. A. M. Carneiro.
2015-08-05 13:52:33 -04:00
Nick Coghlan
91e561aa77
Issue #24129 : Clarify reference docs for name resolution.
...
This includes removing the assumption that readers will be familiar with the
name resolution scheme Python used prior to the introduction of lexical
scoping for function namespaces.
Patch by Ivan Levkivskyi.
2015-08-05 23:07:24 +10:00
Zachary Ware
920a335e97
Issue #24751 : When running regrtest with '-w', don't fail if re-run succeeds.
2015-08-04 21:54:54 -05:00
Robert Collins
1ae28d2ff3
Issue #20769 : Improve reload() docs. Patch by Dorian Pula.
2015-08-05 08:20:53 +12:00
Robert Collins
2fee5c9367
Issue #24021 : docstring for urllib.urlcleanup.
...
Patch from Daniel Andrade Groppe and Peter Lovett
2015-08-04 12:52:06 +12:00
Robert Collins
a0e5d981cd
Issue #23888 : Handle fractional time in cookie expiry. Patch by ssh.
2015-08-04 10:06:29 +12:00
Zachary Ware
3e77677692
Issue #23652 : Make the select module compile against LSB headers.
...
Patch by Matt Frank.
2015-08-01 21:34:05 -05:00
Terry Jan Reedy
1c837f4010
Issue 24745: Add ACKS entry.
2015-08-01 19:12:37 -04:00
Terry Jan Reedy
231007fe14
Issue #21192 : Idle Editor. When a file is run, put its name in the restart bar.
...
Do not print false prompts. Original patch by Adnan Umer.
2015-07-31 22:34:37 -04:00
Robert Collins
2080dc97a7
Issue #22932 : Fix timezones in email.utils.formatdate.
...
Patch from Dmitry Shachnev.
2015-08-01 08:18:22 +12:00
Robert Collins
5ccc18f298
Issue #23779 : imaplib raises TypeError if authenticator tries to abort.
...
Patch from Craig Holmquist.
2015-07-31 08:59:02 +12:00
Jason R. Coombs
dcf841b78e
Merge
2015-07-29 14:25:58 -04:00
Robert Collins
bd4dd54737
Issue #23589 : Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
2015-07-30 06:14:32 +12:00
Jason R. Coombs
842c07414e
Issue #24729 : Correct reference to open function.
2015-07-29 14:04:36 -04:00
Victor Stinner
111803c038
Issue #23319 : Add Matthieu Gautier to Misc/ACKS
2015-07-29 14:40:38 +02:00
Victor Stinner
9c631a0f71
Issue #23319 : Fix ctypes.BigEndianStructure, swap correctly bytes. Patch
...
written by Matthieu Gautier.
2015-07-29 14:33:52 +02:00
Ned Deily
bb1c079657
Issue #19450 : Update OS X installer builds to use SQLite 3.8.11.
2015-07-28 23:22:23 -07:00
Robert Collins
1ee9283254
Issue #23254 : Document how to close the TCPServer listening socket.
...
Patch from Martin Panter.
2015-07-29 12:52:40 +12:00
Steve Dower
54d361fd86
Issue #19450 : Update Windows builds to use SQLite 3.8.11.0
2015-07-28 11:05:18 -07:00
Raymond Hettinger
acd61b6e40
Issue #24735 : Fix invalid memory access in combinations_with_replacement()
2015-07-28 02:05:44 -07:00
Berker Peksag
aaf6114b37
Issue #23441 : rcompleter now prints a tab character instead of displaying
...
possible completions for an empty word.
Initial patch by Martin Sekera.
2015-07-28 00:06:31 +03:00