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
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
Benjamin Peterson
4ce9e7a14a
merge 3.5
2016-09-12 22:09:39 -07:00
Berker Peksag
ac2d1c7153
Issue #27952 : Capture stderr in run_script()
2016-09-13 07:55:54 +03:00
Ned Deily
c934dde462
Update pydoc topics for 3.6.0b1
2016-09-12 10:48:44 -04:00
Christian Heimes
6d6602ced2
Issue #27322 : back out the commit. needs to be addressed after beta1.
2016-09-12 15:22:25 +02:00
Christian Heimes
139652100e
Issue #27322 : skip test_compile_path when sys.path is not writeable.
2016-09-12 15:08:32 +02:00
Christian Heimes
4d9a72902d
merge
2016-09-12 10:48:55 +02:00
Christian Heimes
9017ec1ea0
Issue #28093 : Check more invalid combinations of PROTOCOL_TLS_CLIENT / PROTOCOL_TLS_SERVER
2016-09-12 10:48:20 +02: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
Terry Jan Reedy
4b73676c3d
Issue #15308 : Add 'interrupt execution' (^C) to Shell menu.
...
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:50:03 -04:00
Ned Deily
8a2150aae6
Issue #28095 : Temporarily disable part of test_startup_imports on OS X.
2016-09-12 00:26:20 -04:00
Steve Dower
a3222b8424
Fixes test_getargs2 to get the buildbots working again.
2016-09-11 19:43:51 -07: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
Yury Selivanov
966321e236
Merge 3.5 (asyncio)
2016-09-11 21:11:19 -04:00
Yury Selivanov
a05a6ef1ca
asyncio: Add set_protocol / get_protocol methods to Transports
2016-09-11 21:11:02 -04:00
Eric V. Smith
35a24c5a43
Add another f-string comment test, to make sure # are being caught in the right place.
2016-09-11 19:01:22 -04:00
Eric V. Smith
09835dcdbb
Make an f-string error message more exact and consistent.
2016-09-11 18:58:20 -04:00
Guido van Rossum
0a6976da10
Issue #28079 : Update typing and test typing from python/typing repo.
...
Ivan Levkivskyi (3.5 version)
2016-09-11 15:34:56 -07:00
Guido van Rossum
7ac1f7d269
Issue #28079 : Update typing and test typing from python/typing repo.
...
Ivan Levkivskyi (3.6 version)
2016-09-11 15:31:27 -07:00
Christian Heimes
5fe668c672
Issue #28085 : Add PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER for SSLContext
2016-09-12 00:01:11 +02:00
Ethan Furman
722898065c
issue28082: better name for Flag
2016-09-11 14:54:27 -07:00
Serhiy Storchaka
b72810583e
Issue #27213 : Fixed different issues with reworked CALL_FUNCTION* opcodes.
...
* BUILD_TUPLE_UNPACK and BUILD_MAP_UNPACK_WITH_CALL no longer generated with
single tuple or dict.
* Restored more informative error messages for incorrect var-positional and
var-keyword arguments.
* Removed code duplications in _PyEval_EvalCodeWithName().
* Removed redundant runtime checks and parameters in _PyStack_AsDict().
* Added a workaround and enabled previously disabled test in test_traceback.
* Removed dead code from the dis module.
2016-09-12 00:52:40 +03:00
R David Murray
29097d5a6a
Merge: #19003 : Only replace \r and/or \n line endings in email.generator.
2016-09-11 17:23:33 -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
Christian Heimes
727cc9337f
Issue #28022 : Catch another deprecation warning in imaplib
2016-09-11 22:47:02 +02:00
Ethan Furman
40bed8a536
issue28083: add IntFlag constants
2016-09-11 13:34:42 -07:00
Ethan Furman
f93395bc51
issue28082: use IntFlag for re constants
2016-09-11 13:30:08 -07:00
Ethan Furman
06339e7493
Enum._convert: sort by value, then by name
2016-09-11 13:25:26 -07:00
Xavier de Gaye
92dec548ff
Issue #28046 : get_sysconfigdata_name() uses the _PYTHON_SYSCONFIGDATA_NAME
...
environment variable that is defined when cross-compiling.
2016-09-11 22:22:24 +02:00
Xavier de Gaye
fda8961115
Issue #27917 : Fix test_triplet_in_ext_suffix for the 'x86' Android platform.
2016-09-11 21:39:17 +02:00
Christian Heimes
e084f84a66
Issue 27744: test_aes_cbc is blocking x86-64 Ubuntu 15.10 Skylake CPU 3.x for a while. Require Kernel 4.3+ for now
2016-09-11 20:11:30 +02:00
Christian Heimes
49aed7b782
Issue #28078 : Add missing colon
2016-09-11 20:03:46 +02:00
Christian Heimes
8d14abc800
Issue 28022: Catch deprecation warning in test_httplib, reported by Martin Panter
2016-09-11 19:54:43 +02:00
Christian Heimes
02b3035bc3
Issue #28078 : Silence resource warnings in test_socket. Initial patch by Xiang Zhang, thanks
2016-09-11 19:49:56 +02:00
Guido van Rossum
015d874626
Issue #28076 : Variable annotations should be mangled for private names.
...
By Ivan Levkivskyi.
2016-09-11 09:45:24 -07: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
Berker Peksag
a3c1728bb6
Use HTTP in testPythonOrg
2016-09-11 15:46:47 +03:00
Berker Peksag
966ad74bf9
Unskip testPythonOrg in test_robotparser
...
We should probably use pythontest.net for this.
2016-09-11 15:27:07 +03:00
Berker Peksag
2a9f5edeeb
Wrap testPasswordProtectedSite with @reap_threads
2016-09-11 15:17:53 +03:00
Vinay Sajip
eb5b647984
Merged upstream changes.
2016-09-11 12:53:34 +01:00
Berker Peksag
4da0fd06ce
Issue #25497 : Rewrite test_robotparser to use a class based design
2016-09-11 14:53:16 +03:00
Vinay Sajip
68532323e2
Closes #25671 : Merged fix from 3.5.
2016-09-11 12:52:53 +01:00
Vinay Sajip
8d82559ca7
Fixes #25671 : Updated prompt handling in activate.fish.
2016-09-11 12:52:08 +01:00
Serhiy Storchaka
5f1a5187f7
Use sequence repetition instead of bytes constructor with integer argument.
2016-09-11 14:41:02 +03:00