Christian Heimes
f22e8e5426
Issue #18147 : Add missing documentation for SSLContext.get_ca_certs().
Also change the argument name to the same name as getpeercert()
12 years ago
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.
12 years ago
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.
12 years ago
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.
12 years ago
Christian Heimes
bd3a7f90b5
Issue #18379 : SSLSocket.getpeercert() returns CA issuer AIA fields, OCSP
and CRL distribution points.
12 years ago
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.
12 years ago
Guido van Rossum
e6e2d9be6e
Clarify where "Documenting Python" can be found.
12 years ago
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.
12 years ago
Christian Heimes
634919a9fa
Issue #17276 : MD5 as default digestmod for HMAC is deprecated. The HMAC
module supports digestmod names, e.g. hmac.HMAC('sha1').
12 years ago
Christian Heimes
985ecdcfc2
ssue #19183 : Implement PEP 456 'secure and interchangeable hash algorithm'.
Python now uses SipHash24 on all major platforms.
12 years ago
Ezio Melotti
4a9ee26750
#2927 : Added the unescape() function to the html module.
12 years ago
Andrew Kuchling
30c5ad2aa2
#1098749 : re-word gettext docs to not encourage using pygettext so much.
Also, add a link to the Babel package.
12 years ago
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.
12 years ago
Serhiy Storchaka
fd32fffa5a
Issue #8402 : Added the escape() function to the glob module.
12 years ago
Antoine Pitrou
6dd0d461a4
Issue #17618 : Add Base85 and Ascii85 encoding/decoding to the base64 module.
12 years ago
Ezio Melotti
e65cb190a6
Fix indentation in doc example.
12 years ago
Richard Oudkerk
edcf8daaed
Issue 16998: Clarify that += on a shared value is not atomic.
12 years ago
Antoine Pitrou
9eefe91fc2
Issue #19508 : direct the user to read the security considerations for the ssl module
12 years ago
Nick Coghlan
c610aba1ed
Close #19282 : Native context management in dbm
12 years ago
Ezio Melotti
2bbdfe7eda
#19238 : fix typo in documentation.
12 years ago
Ezio Melotti
745d54d2fa
#17806 : Added keyword-argument support for "tabsize" to str/bytes.expandtabs().
12 years ago
Serhiy Storchaka
452bab4acf
Issue #16685 : Added support for writing any bytes-like objects in the aifc,
sunau, and wave modules.
12 years ago
Serhiy Storchaka
7714ebbe0e
Issue #5202 : Added support for unseekable files in the wave module.
12 years ago
Vinay Sajip
9c10d6b800
Issue #19504 : Used American spelling for 'customize'.
12 years ago
Andrew Kuchling
587e970be6
Update e-mail address
12 years ago
Jason R. Coombs
3492e39b44
Issue 19544 and Issue #7457 : Restore the read_pkg_file method to distutils.dist.DistributionMetadata accidentally removed in the undo of distutils2.
12 years ago
Andrew Kuchling
2a1838b9df
Issue #19544 and Issue #1180 : Restore global option to ignore ~/.pydistutils.cfg in Distutils, accidentally removed in backout of distutils2 changes.
12 years ago
Andrew Kuchling
5e2d45672c
Issue #19544 and Issue #6516 : Restore support for --user and --group parameters to sdist command as found in Python 2.7 and originally slated for Python 3.2 but accidentally rolled back as part of the distutils2 rollback. Closes Issue #6516 .
12 years ago
Nick Coghlan
d4fdbcc078
Issue #17839 : mention base64 change in What's New
12 years ago
Nick Coghlan
8b097b4ed7
Close #17828 : better handling of codec errors
- output type errors now redirect users to the type-neutral
convenience functions in the codecs module
- stateless errors that occur during encoding and decoding
will now be automatically wrapped in exceptions that give
the name of the codec involved
12 years ago
Nick Coghlan
d0cf0635b3
Close #19406 : Initial implementation of ensurepip
Patch by Donald Stufft and Nick Coghlan
12 years ago
Serhiy Storchaka
711e91b283
Issue #16685 : Added support for any bytes-like objects in the audioop module.
Removed support for strings.
12 years ago
Serhiy Storchaka
81895f8ee3
Issue #19261 : Added support for writing 24-bit samples in the sunau module.
12 years ago
Victor Stinner
e8453bc136
C API doc: try to group concrete objects
13 years ago
R David Murray
d5a2f0b3a1
#18985 : Improve fcntl documentation.
Original patch by Vajrasky Kok, further improved (I hope) by me.
13 years ago
Nick Coghlan
07155c9c14
Fix typo in updated dis docs
13 years ago
Nick Coghlan
90b8e7d2bc
Close #19378 : address flaws in the new dis module APIs
- confusing line_offset parameter -> first_line parameter
- systematically test and fix new file parameter
- remove redundant Bytecode.show_info() API
- rename Bytecode.display_code() to Bytecode.dis() and have it
return the multi-line string rather than printing it directly
- eliminated some not-so-helpful helpers from the bytecode_helper
test support module
Also fixed a longstanding defect (worked around in the test suite)
where lines emitted by the dis module could include trailing white
space. That no longer happens, allowing the formatting tests to be
simplified to use plain string comparisons.
13 years ago
Victor Stinner
05f31bfef3
doc: fix typo
13 years ago
Tim Golden
607981402c
Issue #10197 Tweak docs for subprocess.getstatusoutput and align the documentation, the module docstring, and the function docstring.
13 years ago
Vinay Sajip
2c1adcb62b
Issue #18345 : Added cookbook example illustrating handler customisation.
13 years ago
Nick Coghlan
3daaf5f89d
Fix functools.partialmethod docs and __all__
13 years ago
Georg Brandl
e051b55049
Note that examples are sorted only for convenience.
13 years ago
R David Murray
bd90d09dd0
#18678 : Correct names of spwd struct members.
The old names (sp_nam and sp_pwd) are kept for backward compatibility. Since
this is a long standing bug that hasn't caused any real-world problems, I'm
not backporting it. However, it is worth fixing because the corrected names
match the documentation, and more importantly now match the C struct, just
like the other struct members.
Patch by Vajrasky Kok.
13 years ago
Tim Golden
3a2abb5800
Issue #10197 : Indicate availability of subprocess.get[status]output on Windows and add a note about the effects of universal newlines
13 years ago
R David Murray
5fdb64b5a0
#19411 : Clarify that b2a_hex/hexlify returns a bytes object.
Initial patch by Vajrasky Kok.
13 years ago
Nick Coghlan
8e113b418d
Close #19403 : make contextlib.redirect_stdout reentrant
13 years ago
Nick Coghlan
f4cb48a72b
Issue #4331 : Added functools.partialmethod
Initial patch by Alon Horev
13 years ago
Ezio Melotti
88ebfb129b
#15114 : The html.parser module now raises a DeprecationWarning when the strict argument of HTMLParser or the HTMLParser.error method are used.
13 years ago
Brett Cannon
f6901c8baa
Issue #19410 : Put back in special-casing of '' for
importlib.machinery.FileFinder.
While originally moved to stop special-casing '' as PathFinder farther
up the typical call chain now uses the cwd in the instance of '', it
was deemed an unnecessary risk to breaking subclasses of FileFinder to
take the special-casing out.
13 years ago
Eli Bendersky
2915dd7103
Issue #19452 : Clarify the documentation of iterparse w.r.t. events argument.
In 3.3 iterparse accepts a tuple in events (the C accelerator enforces this).
This limitation was lifted in Python 3.4
13 years ago