Victor Stinner
|
08facd2009
|
Issue #19741: cleanup tracemalloc_realloc()
Explain that unhandled error case is very unlikely
|
12 years ago |
Alexandre Vassalotti
|
fc91285c93
|
Remove code path in cpickle that does not exist in pickle.
|
12 years ago |
Victor Stinner
|
52968676f1
|
Issue #19741: tracemalloc: report tracemalloc_log_alloc() failure to the caller
for new allocations, but not when a memory block was already resized
|
12 years ago |
Alexandre Vassalotti
|
c49477b184
|
Make Ellipsis and NotImplemented picklable through the reduce protocol.
|
12 years ago |
Alexandre Vassalotti
|
4c05d3bc56
|
Make built-in methods picklable through the reduce protocol.
|
12 years ago |
Victor Stinner
|
d606ba7f55
|
Issue #19741: fix tracemalloc_log_alloc(), handle _Py_HASHTABLE_SET() failure
|
12 years ago |
Alexandre Vassalotti
|
b6a2f2a0d1
|
Make framing optional in pickle protocol 4.
This will allow us to control in the future whether to use framing or not.
For example, we may want to turn it off for tiny pickle where it doesn't
help.
The change also improves performance slightly:
### fastpickle ###
Min: 0.608517 -> 0.557358: 1.09x faster
Avg: 0.798892 -> 0.694738: 1.15x faster
Significant (t=3.45)
Stddev: 0.17145 -> 0.12704: 1.3496x smaller
Timeline: http://goo.gl/3xQE1J
### pickle_dict ###
Min: 0.669920 -> 0.615271: 1.09x faster
Avg: 0.733633 -> 0.645058: 1.14x faster
Significant (t=5.05)
Stddev: 0.12041 -> 0.02961: 4.0662x smaller
Timeline: http://goo.gl/LpLSXI
### pickle_list ###
Min: 0.397583 -> 0.368112: 1.08x faster
Avg: 0.412784 -> 0.397223: 1.04x faster
Significant (t=2.78)
Stddev: 0.01518 -> 0.03653: 2.4068x larger
Timeline: http://goo.gl/v39E59
### unpickle_list ###
Min: 0.692935 -> 0.594870: 1.16x faster
Avg: 0.730012 -> 0.628395: 1.16x faster
Significant (t=17.76)
Stddev: 0.02720 -> 0.02995: 1.1012x larger
Timeline: http://goo.gl/2P9AEt
The following not significant results are hidden, use -v to show them:
fastunpickle.
|
12 years ago |
Larry Hastings
|
44e2eaab54
|
Issue #19674: inspect.signature() now produces a correct signature
for some builtins.
|
12 years ago |
Larry Hastings
|
ebdcb50b8a
|
Issue #19730: Argument Clinic now supports all the existing PyArg
"format units" as legacy converters, as well as two new features:
"self converters" and the "version" directive.
|
12 years ago |
Larry Hastings
|
3a9079742f
|
Issue #19722: Added opcode.stack_effect(), which accurately
computes the stack effect of bytecode instructions.
|
12 years ago |
Serhiy Storchaka
|
32eddc1bbc
|
Issue #16203: Add re.fullmatch() function and regex.fullmatch() method,
which anchor the pattern at both ends of the string to match.
Original patch by Matthew Barnett.
|
12 years ago |
Serhiy Storchaka
|
5c24d0e504
|
Issue #13592: Improved the repr for regular expression pattern objects.
Based on patch by Hugo Lopes Tavares.
|
12 years ago |
Antoine Pitrou
|
c1207c1bcf
|
Fix signed / unsigned comparison
|
12 years ago |
Serhiy Storchaka
|
3062c9a6c8
|
Issue #19641: Added the audioop.byteswap() function to convert big-endian
samples to little-endian and vice versa.
|
12 years ago |
Gregory P. Smith
|
2b38fc187c
|
gcc doesn't realize that dummy is always initialized by the function call
and warns about potential uninitialized use.
Silence that by initializing it to null.
|
12 years ago |
Christian Heimes
|
e8b1ba1699
|
Issue #17810: Add two missing error checks to save_global
CID 1131946: Unchecked return value (CHECKED_RETURN)
|
12 years ago |
Serhiy Storchaka
|
6787a3806e
|
Issue #15204: Deprecated the 'U' mode in file-like objects.
|
12 years ago |
Christian Heimes
|
74d8d63b18
|
Issue #17810: return -1 on error
|
12 years ago |
Antoine Pitrou
|
8f2ee6e407
|
Fix writing out 64-bit size fields on 32-bit builds
|
12 years ago |
Christian Heimes
|
b3d3ee4fef
|
Issue #17810: Add NULL check to save_frozenset
CID 1131949: Dereference null return value (NULL_RETURNS)
|
12 years ago |
Antoine Pitrou
|
c9dc4a2a8a
|
Issue #17810: Implement PEP 3154, pickle protocol 4.
Most of the work is by Alexandre.
|
12 years ago |
doko@ubuntu.com
|
46c5deb130
|
- Modules/_struct.c (unpackiter_type): Define static.
|
12 years ago |
Antoine Pitrou
|
91a7af3e48
|
Issue #19727: os.utime(..., None) is now potentially more precise under Windows.
|
12 years ago |
Victor Stinner
|
93965f7a6b
|
Issue #19634: time.strftime("%y") now raises a ValueError on Solaris when given
a year before 1900.
|
12 years ago |
Victor Stinner
|
3728d6ced0
|
Issue #18874: Remove tracemalloc.set_traceback_limit()
tracemalloc.start() now has an option nframe parameter
|
12 years ago |
Victor Stinner
|
ed3b0bca3e
|
Issue #18874: Implement the PEP 454 (tracemalloc)
|
12 years ago |
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.
|
12 years ago |
Christian Heimes
|
5398e1a56e
|
Issue #19448: report name / NID in exception message of ASN1Object
|
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
|
ba723200ce
|
silence an overflow warning. slen is smaller than 1MB
|
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 |
Christian Heimes
|
949ec14209
|
Issue #19682: Fix compatibility issue with old version of OpenSSL that
was introduced by Issue #18379.
|
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 |
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
|
985ecdcfc2
|
ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'.
Python now uses SipHash24 on all major platforms.
|
12 years ago |
Victor Stinner
|
e106e5ce4b
|
Issue #19437: Fix error handling of PyCArrayType_new(), don't decreases the
reference counter of stgdict after result stole a reference to it
|
12 years ago |
Victor Stinner
|
2399ad51d4
|
Issue #19437: Fix error handling of CDataType_from_buffer()
KeepRef() decreases the reference counter of its 'keep' parameter on error
|
12 years ago |
Larry Hastings
|
ed4a1c5703
|
Argument Clinic: rename "self" to "module" for module-level functions.
|
12 years ago |
Christian Heimes
|
85ba92a0b8
|
GetVolumePathNameW: downcast bufsize to DWORD
|
12 years ago |
Christian Heimes
|
b08ff7dcb4
|
Safely downcast SOCKET_T to int in _ssl module
|
12 years ago |
Christian Heimes
|
cc6cdce750
|
Remove unused code path from PBKDF2 that is causing a warning on Win64
|
12 years ago |
Zachary Ware
|
7f4bf9fb10
|
Issue #19520: Fix (the last!) compiler warning on 32bit Windows, in _sha3
|
12 years ago |
Victor Stinner
|
136f064b93
|
Issue #19634: Fix time_strftime() on AIX, format is a wchar_t* not a PyObject*
|
12 years ago |
Victor Stinner
|
afccb0a821
|
sqlite: Use Py_ssize_t to store a size instead of an int
Fix a compiler warning on Windows 64-bit
|
12 years ago |
Victor Stinner
|
3f658bec35
|
sqlite: raise an OverflowError if a string or a BLOB is longer than INT_MAX
bytes
Fix compiler warnings on Windows 64-bit
|
12 years ago |