Nick Coghlan
c72e4e6dcc
Issue #19619 : Blacklist non-text codecs in method API
str.encode, bytes.decode and bytearray.decode now use an
internal API to throw LookupError for known non-text encodings,
rather than attempting the encoding or decoding operation and
then throwing a TypeError for an unexpected output type.
The latter mechanism remains in place for third party non-text
encodings.
12 years ago
Ned Deily
322f5ba0d8
Issue #19553 : PEP 453 - "make install" and "make altinstall" now install or
upgrade pip by default, using the bundled pip provided by the new ensurepip
module. A new configure option, --with-ensurepip[=upgrade|install|no], is
available to override the default ensurepip "--upgrade" option. The option
can also be set with "make [alt]install ENSUREPIP=[upgrade|install\no]".
12 years ago
Ned Deily
b8f944f0b7
Issue #19649 : On OS X, the same set of file names are now installed
in bin directories for all configurations: non-framework vs framework,
and single arch vs universal builds. pythonx.y-32 is now always
installed for 64-bit/32-bit universal builds. The obsolete and
undocumented pythonw* symlinks are no longer installed anywhere.
12 years ago
Ned Deily
c06d6fdc37
Issue #14455 : Fix maybe_open typo in Plist.fromFile().
12 years ago
Ezio Melotti
f6de9eb2bb
#19688 : add back and deprecate the internal HTMLParser.unescape() method.
12 years ago
Christian Heimes
32f0c7a67b
or VERIFY_CRL_CHECK_LEAF to verify_flags
12 years ago
Christian Heimes
d5b200ce2b
Issue #19664 : fix another flake test_userdict test
12 years ago
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
d062892542
Issue #19681 : Apply a quick and minimal band-aid.
The flaky buildbots make it hard to detect real issue. This is just a temporary fix until we agree
on a permanent solution.
12 years ago
Christian Heimes
35915876a6
merge
12 years ago
Christian Heimes
5f8b0f5c59
Issue #19664 : test_userdict's repr test no longer depends on the order
of dict elements.
Original patch by Serhiy Storchaka
12 years ago
Barry Warsaw
99fc416b23
trunk merge
12 years ago
Barry Warsaw
197a770231
- Issue #19555 : Restore sysconfig.get_config_var('SO'), with a
DeprecationWarning pointing people at $EXT_SUFFIX.
12 years ago
Christian Heimes
ba723200ce
silence an overflow warning. slen is smaller than 1MB
12 years ago
Christian Heimes
d6dc952e17
one CERT_REQUIRED is enough
12 years ago
Christian Heimes
1dbf61fa46
downcast len to int. The code has already checked that len < INT_MAX
12 years ago
Christian Heimes
18fc7be80d
lst might be NULL here
CID 1130752: Dereference after null check (FORWARD_NULL)
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
Victor Stinner
e079eddf21
Close #18294 : Fix the zlib module to make it 64-bit safe
12 years ago
Guido van Rossum
8820c239f7
Better behavior when stepping over yield[from]. Fixes issue 16596. By Xavier de Gaye.
12 years ago
Guido van Rossum
9c55a58a1d
asyncio: Make Semaphore(0) work properly.
12 years ago
Serhiy Storchaka
d88c6f9b9b
Print Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654).
12 years ago
Serhiy Storchaka
0b1386d922
Print Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654).
12 years ago
Christian Heimes
1b62760221
merge
12 years ago
Christian Heimes
949ec14209
Issue #19682 : Fix compatibility issue with old version of OpenSSL that
was introduced by Issue #18379 .
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
Victor Stinner
8455723cfb
Close #19568 : Fix bytearray_setslice_linear(), fix handling of
PyByteArray_Resize() failure: leave the bytearray object in an consistent state.
If growth < 0, handling the memory allocation failure is tricky here because
the bytearray object has already been modified. If lo != 0, the operation is
completed, but a MemoryError is still raised and the memory block is not
shrinked. If lo == 0, the bytearray is restored in its previous state and a
MemoryError is raised.
12 years ago
Victor Stinner
35f2803a24
Close #19578 : Fix list_ass_subscript(), handle list_resize() failure
Notify the caller of the failure (MemoryError exception).
12 years ago
Victor Stinner
a282825bf6
Issue #19183 : Simplify test_gdb
repr() is no more platform dependent, SipHash has been fixed
12 years ago
Serhiy Storchaka
f4fd257a02
Issue #19633 : Fixed writing not compressed 16- and 32-bit wave files on
big-endian platforms.
Temporary forbidden test_unseekable_incompleted_write fornot compressed 16-
and 32-bit wave file on big-endian platforms.
12 years ago
Serhiy Storchaka
d9a018222f
Issue #19633 : Fixed writing not compressed 16- and 32-bit wave files on
big-endian platforms.
Temporary forbidden test_unseekable_incompleted_write fornot compressed 16-
and 32-bit wave file on big-endian platforms.
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
Larry Hastings
abc716b058
Issue #19474 : Argument Clinic now always specifies a default value for
variables in option groups, to prevent "uninitialized value" warnings.
12 years ago
Christian Heimes
f3bf35eee4
Issue #16632 : Enable DEP and ASLR on Windows.
12 years ago
Christian Heimes
552e6c7284
Issue #17791 : Drop PREFIX and EXEC_PREFIX definitions from PC/pyconfig.h
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
Serhiy Storchaka
7f48396cb5
Print Tk patchlevel in test_tcl in verbose mode (issue19654).
12 years ago
Serhiy Storchaka
8db1823cf7
Print Tk patchlevel in test_tcl in verbose mode (issue19654).
12 years ago
Christian Heimes
680dc21380
update siphash24 test values
12 years ago
Christian Heimes
a5bcd7c0ee
Issue #19183 : too many tests depend on the sort order of repr().
The bitshift and xor op for 32bit builds has changed the order of hash values.
12 years ago
Victor Stinner
5132493155
Issue #19183 : Fix repr() tests of test_gdb, hash() is now platform dependent
12 years ago
Christian Heimes
156983ae3b
Issue #19183 : test_gdb's test_dict was failing on some machines as the order or dict keys has changed again.
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
Christian Heimes
fe32aec25a
configure: use AC_MSG_NOTICE() instead of AC_MSG_WARN() to inform user about C++ compiler.
Now './configure --silent && make -s' doesn't print any message to stdout or stderr.
12 years ago
Christian Heimes
0bedc973ba
configure: echo message to AS_MESSAGE_FD. --silent redirects fd to /dev/null.
12 years ago
Christian Heimes
75ed890de5
configure: echo message to AS_MESSAGE_FD. --silent redirects fd to /dev/null.
12 years ago