Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add fast paths to deque_init() for the common cases | Raymond Hettinger | 2015-10-01 | 1 | -3/+10 |
| | |||||
* | Add an early-out for deque_clear() | Raymond Hettinger | 2015-09-30 | 1 | -0/+3 |
| | |||||
* | 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 | -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 |
| | | | |||||
* | | | merge | Alexander Belopolsky | 2015-09-28 | 1 | -4/+5 |
|\ \ \ | |||||
| * \ \ | 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. | ||||
| | | * | Issue #25203: Failed readline.set_completer_delims() no longer left the | Serhiy Storchaka | 2015-09-27 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | module in inconsistent state. | ||||
* | | | | 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 |
| |\ \ \ | | |/ / | |/| | | |||||
| | * | | Closes issue #23600: Wrong results from tzinfo.fromutc(). | Alexander Belopolsky | 2015-09-28 | 1 | -1/+1 |
| | |/ | |||||
* | | | merge 3.5 | Benjamin Peterson | 2015-09-27 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | merge 3.4 | Benjamin Peterson | 2015-09-27 | 1 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | fix spacing | Benjamin Peterson | 2015-09-27 | 1 | -2/+2 |
| | | | |||||
* | | | merge 3.5 (#25245) | Benjamin Peterson | 2015-09-27 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | 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 |
| | | | |||||
* | | | merge 3.5 (#23329) | Benjamin Peterson | 2015-09-27 | 1 | -2/+1 |
|\ \ \ | |/ / | |||||
| * | | detect alpn by feature flag not openssl version (closes #23329) | Benjamin Peterson | 2015-09-27 | 1 | -2/+1 |
| | | | |||||
* | | | Move the copy and clear functions upwards to eliminate unnecessary forward ↵ | Raymond Hettinger | 2015-09-27 | 1 | -117/+113 |
| | | | | | | | | | | | | references. | ||||
* | | | Minor tweak to the order of variable updates. | Raymond Hettinger | 2015-09-27 | 1 | -2/+2 |
| | | | |||||
* | | | Bump up the maximum number of freeblocks | Raymond Hettinger | 2015-09-27 | 1 | -1/+1 |
| | | | |||||
* | | | Precomputing the number iterations allows the inner-loop to be vectorizable. | Raymond Hettinger | 2015-09-26 | 1 | -2/+6 |
| | | | |||||
* | | | Hoist constant expression out of an inner loop. | Raymond Hettinger | 2015-09-26 | 1 | -6/+18 |
| | | | |||||
* | | | merge | Raymond Hettinger | 2015-09-26 | 1 | -3/+59 |
|\ \ \ | |/ / | |||||
| * | | Issue #25135: Avoid possible reentrancy issues in deque_clear. | Raymond Hettinger | 2015-09-26 | 1 | -3/+59 |
| | | | |||||
* | | | merge 3.5 | Benjamin Peterson | 2015-09-26 | 1 | -0/+6 |
|\ \ \ | |/ / | |||||
| * | | merge 3.4 | Benjamin Peterson | 2015-09-26 | 1 | -0/+6 |
| |\ \ | | |/ | |||||
| | * | prevent overflow in _Unpickler_Read | Benjamin Peterson | 2015-09-26 | 1 | -0/+6 |
| | | | |||||
* | | | Replace an unpredictable branch with a simple addition. | Raymond Hettinger | 2015-09-24 | 1 | -3/+2 |
| | | | |||||
* | | | Eliminate unnecessary variables | Raymond Hettinger | 2015-09-23 | 1 | -4/+2 |
| | | | |||||
* | | | Merge with 3.5 | Steve Dower | 2015-09-23 | 1 | -0/+3 |
|\ \ \ | |/ / | |||||
| * | | 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. | ||||
| * | | Issue #25155: Add _PyTime_AsTimevalTime_t() function | Victor Stinner | 2015-09-18 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, the tv_sec field of the timeval structure has the type C long, whereas it has the type C time_t on all other platforms. A C long has a size of 32 bits (signed inter, 1 bit for the sign, 31 bits for the value) which is not enough to store an Epoch timestamp after the year 2038. Add the _PyTime_AsTimevalTime_t() function written for datetime.datetime.now(): convert a _PyTime_t timestamp to a (secs, us) tuple where secs type is time_t. It allows to support dates after the year 2038 on Windows. Enhance also _PyTime_AsTimeval_impl() to detect overflow on the number of seconds when rounding the number of microseconds. | ||||
* | | | Eliminate unnecessary variable | Raymond Hettinger | 2015-09-22 | 1 | -2/+1 |
| | | | |||||
* | | | Minor consistency improvements to negative value comparisons. | Raymond Hettinger | 2015-09-22 | 1 | -9/+9 |
| | | | |||||
* | | | Issue #25207, #14626: Fix my commit. | Victor Stinner | 2015-09-21 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | It doesn't work to use #define XXX defined(YYY)" and then "#ifdef XXX" to check YYY. | ||||
* | | | Issue #25207, #14626: Fix ICC compiler warnings in posixmodule.c | Victor Stinner | 2015-09-21 | 1 | -3/+3 |
| | | | | | | | | | | | | Replace "#if XXX" with #ifdef XXX". | ||||
* | | | Add a fast path (no iterator creation) for a common case for repeating ↵ | Raymond Hettinger | 2015-09-19 | 1 | -4/+11 |
| | | | | | | | | | | | | deques of size 1 | ||||
* | | | Hoist constant expression out of an inner loop | Raymond Hettinger | 2015-09-19 | 1 | -2/+6 |
| | | | |||||
* | | | Issue #25155: Add _PyTime_AsTimevalTime_t() function | Victor Stinner | 2015-09-18 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, the tv_sec field of the timeval structure has the type C long, whereas it has the type C time_t on all other platforms. A C long has a size of 32 bits (signed inter, 1 bit for the sign, 31 bits for the value) which is not enough to store an Epoch timestamp after the year 2038. Add the _PyTime_AsTimevalTime_t() function written for datetime.datetime.now(): convert a _PyTime_t timestamp to a (secs, us) tuple where secs type is time_t. It allows to support dates after the year 2038 on Windows. Enhance also _PyTime_AsTimeval_impl() to detect overflow on the number of seconds when rounding the number of microseconds. | ||||
* | | | Merge 3.5 (os.waitpid) | Victor Stinner | 2015-09-15 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #25118: Fix a regression of Python 3.5.0 in os.waitpid() on Windows. | Victor Stinner | 2015-09-15 | 1 | -2/+2 |
| | | | | | | | | | | | | Add an unit test on os.waitpid() | ||||
* | | | Tighten inner-loop for deque_inplace_repeat(). | Raymond Hettinger | 2015-09-14 | 1 | -4/+6 |
| | | | |||||
* | | | Add an exact type match fast path for deque_copy(). | Raymond Hettinger | 2015-09-13 | 1 | -0/+16 |
| | | |