Commit graph

19918 commits

Author SHA1 Message Date
Benjamin Peterson
47503c5a8d fix link to instrumentation 2016-09-10 17:38:51 -07:00
Benjamin Peterson
699e2c91f6 reST is not markdown 2016-09-10 17:24:25 -07: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
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
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
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
Berker Peksag
2d7250b3be Fix Python version in pdb.rst 2016-09-10 09:28:03 +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
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
Eric V. Smith
d7665ca7a4 Further improved ',' and '_' specification in format mini-language. 2016-09-09 23:13:01 -04:00
Eric V. Smith
fef4391c88 Improved ',' and '_' specification in format mini-language. 2016-09-09 23:12:02 -04:00
Eric V. Smith
89e1b1aae0 Issue 27080: PEP 515: add '_' formatting option. 2016-09-09 23:06:47 -04:00
Zachary Ware
b44acebc7b Actually fix suspicious markup, I ignored it too readily 2016-09-09 17:47:38 -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
Zachary Ware
39b42ae8db Remove line numbers from suspicious rules 2016-09-09 17:38:28 -07: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
f1024f7425 merge 2016-09-09 15:58:00 -07:00
Raymond Hettinger
87dc4d6189 Issue 14976: Note that the queue module is not designed to protect against reentrancy 2016-09-09 15:57:13 -07:00
Zachary Ware
c307672395 We're not that far in the future yet 2016-09-09 15:47:05 -07:00
Zachary Ware
12aeb78fd2 Fix suspicious markup 2016-09-09 15:46:14 -07:00
R David Murray
06ed218ed0 #20476: add a message_factory policy attribute to email. 2016-09-09 18:39:18 -04:00
Benjamin Peterson
f46e612e33 repair versionadded directive 2016-09-09 15:34:58 -07:00
Steve Dower
3cdd7f57a2 Add links from whatsnew to Windows docs. 2016-09-09 15:22:13 -07:00
Christian Heimes
3aeacad561 Issue #28025: Convert all ssl module constants to IntEnum and IntFlags. 2016-09-10 00:19:35 +02:00
Serhiy Storchaka
142aee3a8e Merge heads 2016-09-10 01:14:38 +03:00
Steve Dower
d8fdffedaa Adds search path changes to whatsnew/3.6.rst 2016-09-09 15:09:30 -07:00
Steve Dower
814f9ae33e Adds documentation for pythonXX.zip as a landmark. 2016-09-09 15:07:46 -07:00
Benjamin Peterson
4fd64b9a6a remove ceval timestamp support 2016-09-09 14:57:58 -07:00
Serhiy Storchaka
be9a4e5c85 Issue #433028: Added support of modifier spans in regular expressions. 2016-09-10 00:57:55 +03:00
Brett Cannon
a721abac29 Issue #26331: Implement the parsing part of PEP 515.
Thanks to Georg Brandl for the patch.
2016-09-09 14:57:09 -07:00
Zachary Ware
9539963a44 Remove unused suspicious rules 2016-09-09 13:26:47 -07:00
Zachary Ware
ba41c8152f Add tix deprecation to whatsnew 2016-09-09 13:25:44 -07:00
Zachary Ware
9c85828463 Closes #19489: Merge with 3.5 2016-09-09 13:11:58 -07:00
Zachary Ware
a3090a4b79 Issue #19489: Move the search box from sidebar to header and footer. 2016-09-09 13:11:27 -07:00
Benjamin Peterson
c1db513e36 repair errors in (set|get)_task_factory note (#28051) 2016-09-09 12:46:42 -07:00
Benjamin Peterson
84f6a8f725 merge 3.5 (#28051) 2016-09-09 12:46:49 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
0d441d7d59 Add a note about queue not being safe for use from signal handlers.
issue14976.
2016-09-09 12:31:05 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
cb3f2c8f97 Add a note about queue not being safe for use from signal handlers.
issue14976.
2016-09-09 12:30:34 -07:00
Steve Dower
de02b084e6 Closes #22731: Documents change of console mode. 2016-09-09 11:46:37 -07:00
Guido van Rossum
922175922c Issue #28049: Add documentation for typing.Awaitable and friends.
By Michael Lee.
2016-09-09 11:46:34 -07:00
Steve Dower
8b26702fa3 Closes #22731: Documents change of console mode. 2016-09-09 11:47:02 -07:00
Eric Snow
68f4dd8b01 Doc updates for PEPs 520 and 468. 2016-09-09 11:22:14 -07:00
Brett Cannon
6760c69022 Mention how requiring ordered dicts breaks backwards-compatibility. 2016-09-09 11:18:21 -07:00
Brett Cannon
feea6e7bcf Mention that the order-preserving aspect of the new dict
implementation is an implementation detail (and why that is so).
2016-09-09 11:11:45 -07:00
Guido van Rossum
52a7e37555 Add a few big-ticket items to What's new in 3.6. 2016-09-09 09:59:34 -07:00
Guido van Rossum
6cff8744a0 Issue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal.
Patch by Ivan Levkivskyi.
2016-09-09 09:36:26 -07:00
Steve Dower
f333fd82a2 Switch to using |version| substitition in Windows docs. 2016-09-09 09:40:06 -07:00