Christian Heimes
5de397e158
merge
2013-11-23 15:59:07 +01:00
Christian Heimes
4c05b472dd
Issue #19689 : Add ssl.create_default_context() factory function. It creates
...
a new SSLContext object with secure default settings.
2013-11-23 15:58:30 +01:00
Serhiy Storchaka
235c5e0dd6
Issue #17201 : ZIP64 extensions now are enabled by default.
...
Patch by William Mallard.
2013-11-23 15:55:38 +02:00
Christian Heimes
6b2ff98df4
Correct documentation clientAuth -> CLIENT_AUTH
2013-11-23 14:42:01 +01:00
Christian Heimes
72d28500b3
Issue #19292 : Add SSLContext.load_default_certs() to load default root CA
...
certificates from default stores or system stores. By default the method
loads CA certs for authentication of server certs.
2013-11-23 13:56:58 +01:00
Antoine Pitrou
a30d82f597
Document create_connection
2013-11-23 13:55:35 +01:00
Antoine Pitrou
9a62a1987f
Start documenting the event loop
2013-11-23 13:10:08 +01:00
Antoine Pitrou
4d1046c7e6
Document asyncio transport APIs
2013-11-23 12:50:52 +01:00
Victor Stinner
3728d6ced0
Issue #18874 : Remove tracemalloc.set_traceback_limit()
...
tracemalloc.start() now has an option nframe parameter
2013-11-23 12:37:20 +01:00
Victor Stinner
ed3b0bca3e
Issue #18874 : Implement the PEP 454 (tracemalloc)
2013-11-23 12:27:24 +01:00
Christian Heimes
2427b50fdd
Issue #8813 : X509_VERIFY_PARAM is only available on OpenSSL 0.9.8+
...
The patch removes the verify_flags feature on Mac OS X 10.4 with OpenSSL 0.9.7l 28 Sep 2006.
2013-11-23 11:24:32 +01:00
Ned Deily
44a0db0c1e
Issue #19551 : Update whatsnew.
2013-11-22 22:39:09 -08:00
Nick Coghlan
7bc4b3bee3
Update What's New with PEP 453 progress
2013-11-23 11:59:40 +10:00
Nick Coghlan
9c1aed8f94
Close #7475 : Restore binary & text transform codecs
...
The codecs themselves were restored in Python 3.2, this
completes the restoration by adding back the convenience
aliases.
These aliases were originally left out due to confusing
errors when attempting to use them with the text encoding
specific convenience methods. Python 3.4 includes several
improvements to those errors, thus permitting the aliases
to be restored as well.
2013-11-23 11:13:36 +10:00
Guido van Rossum
f8d0ff9f42
Add source link for asyncio.
2013-11-22 16:53:25 -08:00
Antoine Pitrou
74193af0cf
Finish protocol documentation
2013-11-23 01:21:11 +01:00
Antoine Pitrou
a035e1b000
Start documenting protocols
2013-11-23 01:08:43 +01:00
Guido van Rossum
f0f5d3844a
Mention threadpool interface in asyncio overview.
2013-11-22 15:45:02 -08:00
Antoine Pitrou
bba8682200
Issue #19291 : add crude stubs to the asyncio docs
2013-11-23 00:34:26 +01:00
Andrew Kuchling
b3931d2111
Wording changes
2013-11-22 16:15:28 -05:00
Andrew Kuchling
7a4e2d1751
Wording changes to pathlib docs.
...
Only possibly-controversial change: joinpath() was described as:
"Calling this method is equivalent to indexing the path with each of
the *other* arguments in turn."
'Indexing' is an odd word to use, because you can't subscript Path or
PurePath objects, so I changed it to "combining".
2013-11-22 15:45:02 -05:00
Guido van Rossum
4da459c488
Fix markup of notes recommending asyncio.
2013-11-22 12:27:45 -08:00
Zachary Ware
9ae8742075
Merge heads
2013-11-22 14:04:01 -06:00
Zachary Ware
e19e3f0b91
Issue #18326 : merge with 3.3
2013-11-22 14:03:10 -06:00
Zachary Ware
e1391a0d68
Issue #18326 : Clarify that list.sort's arguments are keyword-only.
...
Also, attempt to reduce confusion in the glossary by not saying there are
different "types" of arguments and parameters.
2013-11-22 13:58:34 -06:00
Guido van Rossum
aa40775817
Add note to asyncore/asynchat recommending asyncio for new code.
2013-11-22 11:57:35 -08:00
Guido van Rossum
5467da860c
Move select, selectors, asyncio to section 18 (IPC).
2013-11-22 11:56:46 -08:00
Guido van Rossum
7a465647e4
asyncio: Pass cancellation from wrapping Future to wrapped Future. By Saúl Ibarra Corretgé (mostly).
2013-11-22 11:47:22 -08:00
Antoine Pitrou
31119e4f10
Issue #19673 : Add pathlib to the stdlib as a provisional module (PEP 428).
2013-11-22 17:38:12 +01:00
Eric Snow
b523f8433a
Implement PEP 451 (ModuleSpec).
2013-11-22 09:05:39 -07:00
Nick Coghlan
50c48b89e3
Close #17916 : dis.Bytecode based replacement for distb
...
- Bytecode.from_traceback() alternate constructor
- current_offset parameter and attribute
Patch by Claudiu Popa
2013-11-23 00:57:00 +10:00
Nick Coghlan
8fbdb097cf
Close #19552 : venv and pyvenv ensurepip integration
2013-11-23 00:30:34 +10:00
Nick Coghlan
8afc8f61f9
Issue #19619 : Update What's New for codec blacklist
2013-11-22 23:00:22 +10:00
Christian Heimes
f22e8e5426
Issue #18147 : Add missing documentation for SSLContext.get_ca_certs().
...
Also change the argument name to the same name as getpeercert()
2013-11-22 02:22:51 +01:00
Christian Heimes
44109d7de7
Issue #17134 : Finalize interface to Windows' certificate store. Cert and
...
CRL enumeration are now two functions. enum_certificates() also returns
purpose flags as set of OIDs.
2013-11-22 01:51:30 +01:00
Christian Heimes
225877917e
Issue #8813 : Add SSLContext.verify_flags to change the verification flags
...
of the context in order to enable certification revocation list (CRL)
checks or strict X509 rules.
2013-11-21 23:56:13 +01:00
Ronald Oussoren
c5cf797342
Issue #14455 : plistlib now supports binary plists and has an updated API.
...
This patch adds support for binary plists on OSX to plistlib (based
on a patch by 'dpounces').
The patch also cleans up the API for the plistlib module.
2013-11-21 15:46:49 +01:00
Christian Heimes
bd3a7f90b5
Issue #18379 : SSLSocket.getpeercert() returns CA issuer AIA fields, OCSP
...
and CRL distribution points.
2013-11-21 03:40:15 +01:00
Christian Heimes
efff7060f8
Issue #18138 : Implement cadata argument of SSLContext.load_verify_location()
...
to load CA certificates and CRL from memory. It supports PEM and DER
encoded strings.
2013-11-21 03:35:02 +01:00
Guido van Rossum
e6e2d9be6e
Clarify where "Documenting Python" can be found.
2013-11-20 11:53:31 -08:00
Christian Heimes
c4ab11050d
Issue #18775 : Add name and block_size attribute to HMAC object. They now
...
provide the same API elements as non-keyed cryptographic hash functions.
2013-11-20 17:35:06 +01:00
Christian Heimes
634919a9fa
Issue #17276 : MD5 as default digestmod for HMAC is deprecated. The HMAC
...
module supports digestmod names, e.g. hmac.HMAC('sha1').
2013-11-20 17:23:06 +01:00
Christian Heimes
985ecdcfc2
ssue #19183 : Implement PEP 456 'secure and interchangeable hash algorithm'.
...
Python now uses SipHash24 on all major platforms.
2013-11-20 11:46:18 +01:00
Ezio Melotti
4a9ee26750
#2927 : Added the unescape() function to the html module.
2013-11-19 20:28:45 +02:00
Andrew Kuchling
0e60f85ce4
Merge from 3.3
2013-11-19 11:06:44 -05:00
Andrew Kuchling
30c5ad2aa2
#1098749 : re-word gettext docs to not encourage using pygettext so much.
...
Also, add a link to the Babel package.
2013-11-19 11:05:20 -05:00
Serhiy Storchaka
58cf607d13
Issue #12892 : The utf-16* and utf-32* codecs now reject (lone) surrogates.
...
The utf-16* and utf-32* encoders no longer allow surrogate code points
(U+D800-U+DFFF) to be encoded.
The utf-32* decoders no longer decode byte sequences that correspond to
surrogate code points.
The surrogatepass error handler now works with the utf-16* and utf-32* codecs.
Based on patches by Victor Stinner and Kang-Hao (Kenny) Lu.
2013-11-19 11:32:41 +02:00
Serhiy Storchaka
fd32fffa5a
Issue #8402 : Added the escape() function to the glob module.
2013-11-18 13:06:43 +02:00
Antoine Pitrou
6dd0d461a4
Issue #17618 : Add Base85 and Ascii85 encoding/decoding to the base64 module.
2013-11-17 23:52:25 +01:00
Ezio Melotti
58b7166202
Merge indentation fix in doc example from 3.3.
2013-11-17 22:09:24 +02:00