Guido van Rossum
1816dfe65f
Issue #28073 : Improve wording around None. Michael Lee.
2016-09-10 18:49:14 -07:00
Benjamin Peterson
050af5d89a
Backed out changeset 8460a729e1de
2016-09-10 17:53:13 -07:00
Benjamin Peterson
cc1ea5dedc
force gcc to use c99 inline semantics
2016-09-10 17:45:33 -07:00
Benjamin Peterson
47503c5a8d
fix link to instrumentation
2016-09-10 17:38:51 -07:00
Benjamin Peterson
39e10616fb
add the usual extern C silliness to pydtrace.h
2016-09-10 17:34:15 -07:00
Benjamin Peterson
699e2c91f6
reST is not markdown
2016-09-10 17:24:25 -07:00
Benjamin Peterson
4eef505064
Backed out changeset 3934e070c9db
2016-09-10 17:04:36 -07:00
Serhiy Storchaka
632d38a04f
Null merge
2016-09-11 01:41:01 +03:00
Serhiy Storchaka
cc66a6528d
Backported tests for issue #28070 .
2016-09-11 01:39:51 +03: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
Alexander Belopolsky
130bbe5fd3
#28067 : Fixed another typo.
2016-09-10 16:51:17 -04: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
Alexander Belopolsky
abd143b23b
#28067 : Fixed a typo.
2016-09-10 16:08:26 -04:00
Alexander Belopolsky
6d88fa5c05
Closes #28067 : Do not call localtime (gmtime) in datetime module.
2016-09-10 15:58:31 -04:00
Steve Dower
c5111b5b1f
Closes #28059 : Fixes test_platform to set PYTHONPATH for .pyd files
2016-09-10 12:25:07 -07:00
Mark Dickinson
82cb124300
Issue #25221 : merge from 3.5.
2016-09-10 20:20:08 +01:00
Steve Dower
109bc3aa73
Closes #28059 : Fixes test_platform to set PYTHONPATH for .pyd files
2016-09-10 12:19:42 -07: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
473e0e4dba
Fixed compiler warnings in compact dict implementation on 32-bit platforms.
2016-09-10 21:34:43 +03: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
Xavier de Gaye
b32e869eb1
Issue #28046 : Fix get_sysconfigdata_name().
2016-09-10 16:19:45 +02:00
Zachary Ware
d07b66b817
Backed out changeset 491bbba73bca
...
This change didn't have the intended effect.
2016-09-10 08:55:15 -05:00
Martin Panter
fd13c0fa01
One more spelling fix
2016-09-10 10:45:28 +00:00
Martin Panter
b61ede4ba2
Merge spelling fixes from 3.5
2016-09-10 10:44:12 +00:00
Martin Panter
99e843b48e
Correct spelling in documentation and code comment
2016-09-10 10:38:28 +00:00
Victor Stinner
0fc55a234f
test_platform: Save/restore os.environ on Windows
2016-09-10 06:24:47 -04: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
Victor Stinner
eddc4b7272
Merge 3.5 (regrtest)
2016-09-10 04:27:56 -04:00
Victor Stinner
c7a070e998
regrtest: accept options after test names
2016-09-10 04:27:28 -04:00
Victor Stinner
c50cccfcc3
test_eintr: Fix ResourceWarning warnings
2016-09-10 04:19:48 -04:00
Victor Stinner
e103aaca67
Show regrtest env changed warn on Windows buildbot
...
Issue #27829 : don't pass --quiet option to regrtest to see
"Warning -- xxx was modified by ..." warnings.
2016-09-10 04:07:38 -04: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
Berker Peksag
2d7250b3be
Fix Python version in pdb.rst
2016-09-10 09:28:03 +03:00
Victor Stinner
bc6262675c
Issue #18401 : Fix test_pdb on Windows
...
* Use "with Popen" to cleanup properly the process
* Use support.temp_cwd() to properly change the working directory
* Use environ.pop() to cleanup the code
2016-09-09 23:22:09 -07:00
Victor Stinner
54de2b1edd
Fix check_force_ascii()
...
Issue #27938 : Normalize aliases of the ASCII encoding, because
_Py_normalize_encoding() now correctly normalize encoding names.
2016-09-09 23:11:52 -07:00
Victor Stinner
11ea04491d
Issue #18401 : Fix test_pdb if $HOME is not set
...
HOME is not set on Windows for example.
Use also textwrap.dedent() for the script.
2016-09-09 22:56:54 -07: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
Victor Stinner
a1fd0789ed
Try to fix sizeof unit tests on dict
...
Issue #28056 and issue #26058 .
2016-09-09 21:51:19 -07:00
Łukasz Langa
fef7e94fa1
Don't run garbage collection on interpreter exit if it was explicitly disabled
...
by the user.
2016-09-09 21:47:46 -07:00
Guido van Rossum
9e3ef52a35
Use raw string for regexp (3.5->3.6)
2016-09-09 21:39:36 -07:00
Guido van Rossum
e617521b0d
Use raw string for regexp
2016-09-09 21:39:10 -07:00
R David Murray
b067c8fdd1
#20476 : Deal with the message_factory circular import differently.
...
It turns out we can't depend on email.message getting imported every place
message_factory is needed, so to avoid a circular import we need to special
case Policy.message_factory=None in the parser instead of using monkey
patching. I had a feeling that was a bad idea when I did it.
2016-09-10 00:22:25 -04:00