| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAX | Martin Panter | 2015-11-20 | 2 | -33/+33 |
| | | | | | | | | | | | | | | | The underlying zlib library stores sizes in “unsigned int”. The corresponding Python parameters are all sizes of buffers filled in by zlib, so it is okay to reduce higher values to the UINT_MAX internal cap. OverflowError is still raised for sizes that do not fit in Py_ssize_t. Sizes are now limited to Py_ssize_t rather than unsigned long, because Python byte strings cannot be larger than Py_ssize_t. Previously this could result in a SystemError on 32-bit platforms. This resolves a regression in the gzip module when reading more than UINT_MAX or LONG_MAX bytes in one call, introduced by revision 62723172412c. | ||||
| * | Fixes #23564: Fix a partially broken sanity check in the _posixsubprocess | Gregory P. Smith | 2015-11-16 | 1 | -1/+2 |
| | | | | | | internals regarding how fds_to_pass were passed to the child. The bug had no actual impact as subprocess.py already avoided it. | ||||
| * | merge 3.4 (#25578) | Benjamin Peterson | 2015-11-14 | 1 | -2/+5 |
| |\ | |||||
| | * | rm trailing ws | Benjamin Peterson | 2015-11-14 | 1 | -1/+1 |
| | | | |||||
| | * | fix possible memory lea k in _get_aia_uri (closes #25578) | Benjamin Peterson | 2015-11-14 | 1 | -1/+4 |
| | | | |||||
| * | | merge 3.4 (#25569) | Benjamin Peterson | 2015-11-14 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | fix build with older openssl (#25569) | Benjamin Peterson | 2015-11-14 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #25498: Merge ctypes crash fix from 3.4 into 3.5 | Martin Panter | 2015-11-13 | 1 | -18/+38 |
| |\ \ | |/ | |||||
| | * | Issue #25498: Fix GC crash due to ctypes objects wrapping a memoryview | Martin Panter | 2015-11-13 | 1 | -18/+38 |
| | | | | | | | | | | | This was a regression caused by revision 1da9630e9b7f. Based on patch by Eryksun. | ||||
| * | | merge 3.4 (#25530) | Benjamin Peterson | 2015-11-12 | 1 | -0/+2 |
| |\ \ | |/ | |||||
| | * | always set OP_NO_SSLv3 by default (closes #25530) | Benjamin Peterson | 2015-11-12 | 1 | -0/+2 |
| | | | |||||
| * | | merge 3.5 (#25569) | Benjamin Peterson | 2015-11-12 | 1 | -28/+24 |
| |\ \ | |/ | |||||
| | * | fix memory leak in _get_crl_dp (closes #25569) | Benjamin Peterson | 2015-11-12 | 1 | -28/+24 |
| | | | | | | | | | Patch started by Stéphane Wirtel. | ||||
| * | | Issue #25523: Further a-to-an corrections new in 3.5. | Serhiy Storchaka | 2015-11-02 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #25523: Merge a-to-an corrections from 3.4. | Serhiy Storchaka | 2015-11-02 | 2 | -2/+2 |
| |\ \ | |/ | |||||
| | * | Issue #25523: Further a-to-an corrections. | Serhiy Storchaka | 2015-11-02 | 2 | -2/+2 |
| | | | |||||
| * | | Issue #25523: Further a-to-an corrections new in 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 13 | -26/+26 |
| |\ \ | |/ | |||||
| | * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 13 | -26/+26 |
| | | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
| * | | Issue #25447: The lru_cache() wrapper objects now can be copied and pickled | Serhiy Storchaka | 2015-10-24 | 1 | -0/+7 |
| | | | | | | | | | (by returning the original object unchanged). | ||||
| * | | sys.setrecursionlimit() now raises RecursionError | Victor Stinner | 2015-10-12 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | Issue #25274: sys.setrecursionlimit() now raises a RecursionError if the new recursion limit is too low depending at the current recursion depth. Modify also the "lower-water mark" formula to make it monotonic. This mark is used to decide when the overflowed flag of the thread state is reset. | ||||
| * | | Close #24784: Fix compilation without thread support | Victor Stinner | 2015-10-11 | 2 | -2/+12 |
| | | | | | | | | | | | | | | | | | Add "#ifdef WITH_THREAD" around cals to: * PyGILState_Check() * _PyImport_AcquireLock() * _PyImport_ReleaseLock() | ||||
| * | | merge 3.4 (#25371) | Benjamin Peterson | 2015-10-11 | 1 | -2/+2 |
| |\ \ | |/ | |||||
| | * | add a missing comma (closes #25371) | Benjamin Peterson | 2015-10-11 | 1 | -2/+2 |
| | | | |||||
| * | | Issue #22413: Remove comment made out of date by Argument Clinic | Martin Panter | 2015-10-10 | 1 | -4/+2 |
| | | | |||||
| * | | Issue #22413: Merge StringIO doc from 3.4 into 3.5 | Martin Panter | 2015-10-10 | 1 | -1/+6 |
| |\ \ | |/ | |||||
| | * | Issue #22413: Document newline effect on StringIO initializer and getvalue | Martin Panter | 2015-10-10 | 1 | -1/+6 |
| | | | | | | | | | Also add to comment in the C code. | ||||
| * | | Merge typo fixes from 3.4 into 3.5 | Martin Panter | 2015-10-07 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Various minor typos in documentation and comments | Martin Panter | 2015-10-07 | 1 | -1/+1 |
| | | | |||||
| * | | Backport early-out 91259f061cfb to reduce the cost of bb1a2944bcb6 | Raymond Hettinger | 2015-10-07 | 1 | -1/+5 |
| | | | |||||
| * | | Issue #25290: Fix typo in csv.reader() docstring | Berker Peksag | 2015-10-02 | 1 | -1/+1 |
| |\ \ | |/ | | | | | Patch by Johannes Niediek. | ||||
| | * | Issue #25290: Fix typo in csv.reader() docstring | Berker Peksag | 2015-10-02 | 1 | -1/+1 |
| | | | | | | | | | Patch by Johannes Niediek. | ||||
| * | | Issue #24483: C implementation of functools.lru_cache() now calculates key's | Serhiy Storchaka | 2015-10-02 | 1 | -6/+20 |
| | | | | | | | | | hash only once. | ||||
| * | | Issue #25262. Added support for BINBYTES8 opcode in Python implementation of | Serhiy Storchaka | 2015-09-29 | 1 | -2/+12 |
| |\ \ | |/ | | | | | | | unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 opcodes no longer silently ignored on 32-bit platforms in C implementation. | ||||
| | * | Issue #25262. Added support for BINBYTES8 opcode in Python implementation of | Serhiy Storchaka | 2015-09-29 | 1 | -1/+11 |
| | | | | | | | | | | | unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 opcodes no longer silently ignored on 32-bit platforms in C implementation. | ||||
| | * | Closes issue #23600: Wrong results from tzinfo.fromutc(). | Alexander Belopolsky | 2015-09-28 | 1 | -1/+1 |
| | | | |||||
| * | | Closes issue #23600: Wrong results from tzinfo.fromutc(). | Alexander Belopolsky | 2015-09-28 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #25203: Failed readline.set_completer_delims() no longer left the | Serhiy Storchaka | 2015-09-27 | 1 | -4/+5 |
| |\ \ | |/ | | | | | module in inconsistent state. | ||||
| | * | Issue #25203: Failed readline.set_completer_delims() no longer left the | Serhiy Storchaka | 2015-09-27 | 1 | -4/+5 |
| | | | | | | | | | module in inconsistent state. | ||||
| * | | merge 3.4 | Benjamin Peterson | 2015-09-27 | 1 | -2/+2 |
| |\ \ | |/ | |||||
| | * | fix spacing | Benjamin Peterson | 2015-09-27 | 1 | -2/+2 |
| | | | |||||
| * | | merge 3.4 (#25245) | Benjamin Peterson | 2015-09-27 | 1 | -0/+1 |
| |\ \ | |/ | |||||
| | * | initialize return value to NULL to avoid compiler compliants (closes #25245) | Benjamin Peterson | 2015-09-27 | 1 | -0/+1 |
| | | | |||||
| * | | detect alpn by feature flag not openssl version (closes #23329) | Benjamin Peterson | 2015-09-27 | 1 | -2/+1 |
| | | | |||||
| * | | Issue #25135: Avoid possible reentrancy issues in deque_clear. | Raymond Hettinger | 2015-09-26 | 1 | -3/+59 |
| | | | |||||
| * | | merge 3.4 | Benjamin Peterson | 2015-09-26 | 1 | -0/+6 |
| |\ \ | |/ | |||||
| | * | prevent overflow in _Unpickler_Read | Benjamin Peterson | 2015-09-26 | 1 | -0/+6 |
| | | | |||||
| * | | Issue #25092: Fix datetime.strftime() failure when errno was already set to ↵ | Steve Dower | 2015-09-22 | 1 | -0/+3 |
| | | | | | | | | | EINVAL. | ||||
| * | | Merge 3.4 (datetime rounding) | Victor Stinner | 2015-09-18 | 1 | -11/+63 |
| |\ \ | |/ | |||||
| | * | Issue #23517: Fix rounding in fromtimestamp() and utcfromtimestamp() methods | Victor Stinner | 2015-09-18 | 1 | -8/+63 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | of datetime.datetime: microseconds are now rounded to nearest with ties going to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards zero (ROUND_DOWN). It's important that these methods use the same rounding mode than datetime.timedelta to keep the property: (datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t) It also the rounding mode used by round(float) for example. Add more unit tests on the rounding mode in test_datetime. | ||||
