Yury Selivanov
4c5bf3bc52
Issue #26909 : Fix slow pipes IO in asyncio.
...
Patch by INADA Naoki.
2016-09-15 16:51:48 -04:00
Yury Selivanov
2ceb5aacaa
Merge 3.6 (issue #26654 )
2016-09-15 16:01:56 -04:00
Yury Selivanov
62b81c33d1
Merge 3.5 (issue #26654 )
2016-09-15 16:01:35 -04:00
Yury Selivanov
45dccdad93
Issue #26654 : Inspect functools.partial in asyncio.Handle.__repr__.
...
Patch by iceboy.
2016-09-15 15:58:15 -04:00
Yury Selivanov
01683d86f2
Merge 3.6 (issue #28174 )
2016-09-15 15:46:40 -04:00
Yury Selivanov
1b984ffd44
Merge 3.5 (issue #28174 )
2016-09-15 15:46:16 -04:00
Yury Selivanov
5587d7c071
Issue #28174 : Handle when SO_REUSEPORT isn't properly supported (asyncio)
...
Patch by Seth Michael Larson.
2016-09-15 15:45:07 -04:00
Yury Selivanov
965675e1e5
Merge 3.6 (issue #27906 )
2016-09-15 14:15:29 -04:00
Yury Selivanov
d070154fb5
Merge 3.5 (issue #27906 )
2016-09-15 14:14:48 -04:00
Yury Selivanov
a1b0e7db73
Issue #27906 : Fix socket accept exhaustion during high TCP traffic.
...
Patch by Kevin Conway.
2016-09-15 14:13:15 -04:00
Berker Peksag
2c66eee5bf
Issue #28114 : Merge from 3.6
2016-09-15 20:20:36 +03:00
Berker Peksag
8181646931
Issue #28114 : Fix a crash in parse_envlist() when env contains byte strings
...
Patch by Eryk Sun.
2016-09-15 20:19:47 +03:00
Yury Selivanov
96a042253f
Merge 3.6 (issue #26182 )
2016-09-15 12:50:51 -04:00
Yury Selivanov
8987c9d219
Issue #26182 : Raise DeprecationWarning for improper use of async/await keywords
2016-09-15 12:50:23 -04:00
Benjamin Peterson
640463acb1
merge 3.6
2016-09-14 23:54:09 -07:00
Benjamin Peterson
6775231597
Unicode 9.0.0
...
Not completely mechanical since support for East Asian Width changes—emoji
codepoints became Wide—had to be added to unicodedata.
2016-09-14 23:53:47 -07:00
Serhiy Storchaka
e8cf452c91
Issue #27599 : Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
2016-09-14 16:38:48 +03:00
Serhiy Storchaka
62a1f024b4
Issue #27599 : Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
2016-09-14 16:37:34 +03:00
Serhiy Storchaka
e6265e92bf
Issue #27599 : Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
2016-09-14 16:34:37 +03:00
Berker Peksag
89b9d1d244
Issue #28131 : Merge from 3.6
2016-09-14 08:11:15 +03:00
Berker Peksag
8ee9edbf45
Issue #28131 : Merge from 3.5
2016-09-14 08:10:45 +03:00
Berker Peksag
4aa74c429c
Issue #28131 : Fix a regression in zipimport's compile_source()
...
zipimport should use the same optimization level as the interpreter.
2016-09-14 08:09:48 +03:00
Christian Heimes
ef4c53af5f
Issue #28126 : Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy().
2016-09-13 20:22:26 +02:00
Christian Heimes
f051e43b22
Issue #28126 : Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy().
2016-09-13 20:22:02 +02:00
Victor Stinner
f135ea1320
Merge 3.6 (fix dict.pop)
2016-09-13 16:57:01 +02:00
Victor Stinner
d0ad11f6b4
Fix _PyDict_Pop() on pending key
...
Issue #28120 : Fix dict.pop() for splitted dictionary when trying to remove a
"pending key" (Not yet inserted in split-table).
Patch by Xiang Zhang.
2016-09-13 16:56:38 +02:00
Martin Panter
24e564d48e
Issue #15819 : Merge include search from 3.6
2016-09-13 13:04:41 +00:00
Martin Panter
b2317a4d9d
Issue #15819 : Merge include search from 3.5 into 3.6
2016-09-13 12:40:51 +00:00
Martin Panter
134192630a
Issue #15819 : Remove old unconditional -IInclude option
...
A newer instance of this option, enabled in the configure script when
building outside the source tree, made this redundant.
2016-09-13 12:21:47 +00:00
Victor Stinner
61fd70e050
Remove pystone microbenchmark
...
Issue #15369 . Please use the new "performance" benchmark suite.
2016-09-13 11:49:06 +02:00
Victor Stinner
13b97e37d9
Remove pybench microbenchmark
...
Issue #15369 . Please use the new "performance" benchmark suite.
2016-09-13 11:41:41 +02:00
Serhiy Storchaka
2f76b5694d
Issue #28102 : The zipfile module CLI now prints usage to stderr.
...
Patch by Stephen J. Turnbull.
2016-09-13 09:26:29 +03:00
Ned Deily
4829bc6619
Bump to 3.7.0a0
2016-09-12 17:29:04 -04:00
Ned Deily
4a94bbe517
Start 3.6.0b2
2016-09-12 15:49:58 -04:00
Ned Deily
beb798cad6
Version bump for 3.6.0b1
2016-09-12 11:04:12 -04:00
Ned Deily
dde4f63a54
Issue #17128 : Build OS X installer for 3.6 with private copy of OpenSSL.
...
Also provide a sample Install Certificates command script to install a
set of root certificates from the third-party certifi module.
2016-09-12 09:39:23 -04:00
Raymond Hettinger
0d5048cb21
Issue #17941 : Add a *module* parameter to collections.namedtuple()
2016-09-12 00:18:31 -07:00
Raymond Hettinger
11fa3ffcb1
merge
2016-09-11 23:23:24 -07:00
Raymond Hettinger
076366c2a5
Issue #17582 : xml.etree.ElementTree nows preserves whitespaces in attributes
...
(Patch by Duane Griffin. Reviewed and approved by Stefan Behnel.)
2016-09-11 23:18:03 -07:00
Terry Jan Reedy
3dad1a5b82
Merge 3.5 - Issue #15308 : Add 'interrupt execution' (^C) to Shell menu.
...
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:57:25 -04:00
Raymond Hettinger
4103e4dfbc
Issue #28071 : Add early-out for differencing from an empty set.
2016-09-11 22:02:28 -07:00
Berker Peksag
59da4b324f
Issue #28037 : Use sqlite3_get_autocommit() instead of setting Connection->inTransaction manually
...
Patch adapted from 9b79188edb
2016-09-12 07:16:43 +03:00
Alexander Belopolsky
18f3a9b93c
Closes #25283 : Make tm_gmtoff and tm_zone available on all platforms.
2016-09-11 22:55:16 -04:00
Zachary Ware
16c18a354b
Issue #28065 : Update xz to 5.2.2 on Windows, and build it from source
2016-09-11 21:18:07 -05:00
Martin Panter
11a86ffe5e
Issue #28066 : Merge srcdir fix from 3.5
2016-09-12 01:51:44 +00:00
Yury Selivanov
503ba3ed97
Merge 3.5 (issue #27456 )
2016-09-11 21:44:17 -04:00
Yury Selivanov
44c19eccf9
Issue #27456 : asyncio: Set TCP_NODELAY by default.
2016-09-11 21:39:31 -04:00
Martin Panter
c5ee3caa80
Issue #28066 : Fix include search directory logic for out-of-tree builds
2016-09-12 01:32:03 +00:00
Yury Selivanov
2609fa7311
Merge 3.5 (asyncio/NEWS)
2016-09-11 21:25:01 -04:00
R David Murray
0e0cfd7135
#19003 : Only replace \r and/or \n line endings in email.generator.
...
This is a further restoration of backward compatibility, as well as
being correct per the RFCs.
2016-09-11 17:22:56 -04:00
Eric V. Smith
605bdae078
Issue 24454: Improve the usability of the re match object named group API
2016-09-11 08:55:43 -04:00
Martin Panter
bdb847ae99
Issue #27952 : Merge fixcid.py from 3.5
2016-09-11 10:06:38 +00:00
Berker Peksag
ab994ed8b9
Issue #10740 : sqlite3 no longer implicitly commit an open transaction before DDL statements
...
This commit contains the following commits from ghaering/pysqlite:
* f254c53494
* 796b3afe38
* cae87ee686
* 3567b31bb5
With the following additions:
* Fixed a refcount error
* Fixed a compiler warning
* Made the string comparison a little more robust
* Added a whatsnew entry
2016-09-11 12:57:15 +03:00
Serhiy Storchaka
bd48d27944
Issue #22493 : Inline flags now should be used only at the start of the
...
regular expression. Deprecation warning is emitted if uses them in the
middle of the regular expression.
2016-09-11 12:50:02 +03:00
Martin Panter
b7665386bc
Issue #27952 : Get fixcid.py working with the re module
2016-09-11 09:32:26 +00:00
Serhiy Storchaka
352601ca00
Issue #26885 : xmlrpc now supports unmarshalling additional data types used
...
by Apache XML-RPC implementation for numerics and None.
2016-09-11 11:23:38 +03:00
Serhiy Storchaka
9fab79bcb5
Issue #26900 : Excluded underscored names and other private API from limited API.
2016-09-11 11:03:14 +03:00
Nick Coghlan
944368e1cc
Issue #23722 : Initialize __class__ from type.__new__()
...
The __class__ cell used by zero-argument super() is now initialized
from type.__new__ rather than __build_class__, so class methods
relying on that will now work correctly when called from metaclass
methods during class creation.
Patch by Martin Teichmann.
2016-09-11 14:45:49 +10:00
Serhiy Storchaka
d65cd091e9
Issue #28070 : Fixed parsing inline verbose flag in regular expressions.
2016-09-11 01:39:01 +03:00
Christian Heimes
99a6570295
Issue #19500 : Add client-side SSL session resumption to the ssl module.
2016-09-10 23:44:53 +02:00
Christian Heimes
d04863771b
Issue #28022 : Deprecate ssl-related arguments in favor of SSLContext.
...
The deprecation include manual creation of SSLSocket and certfile/keyfile
(or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib.
ssl.wrap_socket() is not marked as deprecated yet.
2016-09-10 23:23:33 +02:00
Christian Heimes
358cfd426c
Issue 28043: SSLContext has improved default settings
...
The options OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE, OP_NO_SSLv2 (except for PROTOCOL_SSLv2), and OP_NO_SSLv3 (except for PROTOCOL_SSLv3) are set by default. The initial cipher suite list contains only HIGH ciphers, no NULL ciphers and MD5 ciphers (except for PROTOCOL_SSLv2).
2016-09-10 22:43:48 +02:00
Terry Jan Reedy
70360194c7
IDLE newx items. merge from 3.5
2016-09-10 16:28:01 -04:00
Terry Jan Reedy
d92cecb9f1
IDLE newx items.
2016-09-10 16:24:54 -04:00
Mark Dickinson
82cb124300
Issue #25221 : merge from 3.5.
2016-09-10 20:20:08 +01:00
Mark Dickinson
36820dd5a9
Issue #25221 : Fix corrupted result from PyLong_FromLong(0) when Python is compiled with NSMALLPOSINTS = 0.
2016-09-10 20:17:36 +01:00
Steve Dower
81994006f5
Merge from 3.5
2016-09-10 11:53:34 -07:00
Steve Dower
f028d9f71a
Issue #27932 : Backs out change
2016-09-10 11:52:18 -07:00
Serhiy Storchaka
b0d497c072
Issue #24693 : Changed some RuntimeError's in the zipfile module to more
...
appropriate types. Improved some error messages and debugging output.
2016-09-10 21:28:07 +03:00
Nick Coghlan
b161562f72
Issue #17909 : Accept binary input in json.loads
...
json.loads (and hence json.load) now support binary input
encoded as UTF-8, UTF-16 or UTF-32.
Patch by Serhiy Storchaka.
2016-09-10 20:16:18 +10:00
Nick Coghlan
457fc9a69e
Issue #27137 : align Python & C implementations of functools.partial
...
The pure Python fallback implementation of functools.partial
now matches the behaviour of its accelerated C counterpart for
subclassing, pickling and text representation purposes.
Patch by Emanuel Barry and Serhiy Storchaka.
2016-09-10 20:00:02 +10:00
Serhiy Storchaka
8f9cafad3d
Issue #28019 : itertools.count() no longer rounds non-integer step in range
...
between 1.0 and 2.0 to 1.
2016-09-10 09:53:51 +03:00
Serhiy Storchaka
8ddcf3abf7
Issue #28019 : itertools.count() no longer rounds non-integer step in range
...
between 1.0 and 2.0 to 1.
2016-09-10 09:49:24 +03:00
Łukasz Langa
2eb6eca3e5
Issue #18401 : pdb tests don't read ~/.pdbrc anymore
...
Patch by Martin Matusiak and Sam Kimbrel.
2016-09-09 22:21:17 -07:00
Steve Dower
528db31bd9
Issue #27566 : Fix clean target in freeze makefile (patch by Lisa Roach)
2016-09-09 18:38:20 -07:00
Steve Dower
f2bdb6b8ca
Issue #27705 : Update message in validate_ucrtbase.py
2016-09-09 18:21:15 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
28325749c0
Issue #25969 : Update the lib2to3 grammar to handle the unpacking
...
generalizations added in 3.5.
2016-09-09 18:18:52 -07:00
Steve Dower
6a294a54de
Issue #27932 : Fixes memory leak in platform.win32_ver()
2016-09-09 18:01:25 -07:00
Eric V. Smith
89e1b1aae0
Issue 27080: PEP 515: add '_' formatting option.
2016-09-09 23:06:47 -04:00
Łukasz Langa
04bedfa3ce
Issue #27199 : TarFile expose copyfileobj bufsize to improve throughput
...
Patch by Jason Fried.
2016-09-09 19:48:14 -07:00
Eric V. Smith
451d0e38fc
Issue 27948: Allow backslashes in the literal string portion of f-strings, but not in the expressions. Also, require expressions to begin and end with literal curly braces.
2016-09-09 21:56:20 -04:00
Steve Dower
052828db15
Issue #27566 : Fix clean target in freeze makefile (patch by Lisa Roach)
2016-09-09 18:41:56 -07:00
Steve Dower
2e82bf824e
Issue #27705 : Update message in validate_ucrtbase.py
2016-09-09 18:25:29 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
3b822d6c89
Issue #25969 : Update the lib2to3 grammar to handle the unpacking
...
generalizations added in 3.5.
2016-09-09 18:19:51 -07:00
Steve Dower
48c7d7518e
Merge from Zach
2016-09-09 18:05:07 -07:00
Steve Dower
1588a3b377
Issue #27932 : Fixes memory leak in platform.win32_ver()
2016-09-09 18:04:26 -07:00
Zachary Ware
c4b53afce4
Issue #28046 : Remove platform-specific directories from sys.path
2016-09-09 17:59:49 -07:00
Łukasz Langa
a785c87d6e
DTrace support: function calls, GC activity, line execution
...
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.
Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.
Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection
All of those might be added later.
2016-09-09 17:37:37 -07:00
Steve Dower
ff70fc2206
Issue #25758 : Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun)
2016-09-09 17:33:37 -07:00
Steve Dower
8dcc48ee3b
Issue #25758 : Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun)
2016-09-09 17:27:33 -07:00
R David Murray
1319236167
Merge: #14977 : Make mailcap respect the order of the lines in the mailcap file.
2016-09-09 20:09:43 -04:00
R David Murray
347dc95cd3
#14977 : Make mailcap respect the order of the lines in the mailcap file.
...
This is required by RFC 1542, so despite the subtle behavior change we
are treating it as a bug. Patch by Michael Lazar.
2016-09-09 20:04:23 -04:00
Zachary Ware
935043d1ac
Closes #27976 : Deprecate bundled full copy of libffi
...
Builds on non-OSX UNIX now default to using the system libffi, and warn if the
bundled copy is used.
2016-09-09 17:01:21 -07:00
Raymond Hettinger
ae9e5f032d
Issue #22450 : Use "Accept: */*" in the default headers for urllib.request
2016-09-09 16:43:48 -07:00
Steve Dower
d6c580cbce
Issue #25144 : Ensures TargetDir is set before continuing with custom install.
2016-09-09 16:39:36 -07:00
Steve Dower
c87ae806ab
Issue #25144 : Ensures TargetDir is set before continuing with custom install.
2016-09-09 16:37:53 -07:00
Christian Heimes
3aeacad561
Issue #28025 : Convert all ssl module constants to IntEnum and IntFlags.
2016-09-10 00:19:35 +02:00
Benjamin Peterson
0c6ab35f3e
repair reST
2016-09-09 15:14:56 -07:00
Serhiy Storchaka
142aee3a8e
Merge heads
2016-09-10 01:14:38 +03:00
Benjamin Peterson
4fd64b9a6a
remove ceval timestamp support
2016-09-09 14:57:58 -07:00