Commit Graph

98184 Commits

Author SHA1 Message Date
Victor Stinner 11edf29025 Merge 3.6 2017-01-04 12:02:30 +01:00
Victor Stinner 51b90d28e2 Issue #24773: fix datetime.time constructor docstring
The default value of fold is zero, not True. Fix the docstring of the Python
implementation.
2017-01-04 12:01:16 +01:00
Victor Stinner 12bc0274a8 Merge 3.6 2017-01-03 23:47:39 +01:00
Victor Stinner 423c16b4c3 Issue #29140: Fix hash(datetime.time)
Fix time_hash() function: replace DATE_xxx() macros with TIME_xxx() macros.
Before, the hash function used a wrong value for microseconds if fold is set
(equal to 1).
2017-01-03 23:47:12 +01:00
Serhiy Storchaka 0f05512104 Fixed possible reference leaks in the _json module. 2017-01-03 11:20:15 +02:00
Serhiy Storchaka 8d979d576e Fixed possible reference leaks in the _json module. 2017-01-03 11:19:48 +02:00
Serhiy Storchaka 21fe721345 Fixed possible reference leaks in the _json module. 2017-01-03 11:17:44 +02:00
Larry Hastings ef29a05f98 Null-merge from 3.6. Last one--phew! 2017-01-02 18:40:11 -08:00
Larry Hastings c70225c98c Null-merge from 3.5. 2017-01-02 18:39:09 -08:00
Larry Hastings d9cb1b0c2d Forward-merge from 3.4. 2017-01-02 18:36:52 -08:00
Larry Hastings 31f9d9d340 Merge Python 3.5.3rc1 release changes back into the main branch. 2017-01-02 18:32:30 -08:00
Larry Hastings e744804bc9 Post-release fixups for Python 3.5.3rc1. 2017-01-02 18:31:25 -08:00
Larry Hastings aa772e3cd2 Merge Python 3.4.6rc1 changes back into main branch. 2017-01-02 18:30:26 -08:00
Larry Hastings a7aa988ddc Post-release fixups for Python 3.4.6rc1. 2017-01-02 18:29:26 -08:00
Victor Stinner 865a0f621f Optimize _PyFunction_FastCallDict() when kwargs is {}
Issue #28839: Optimize _PyFunction_FastCallDict() when kwargs is an empty
dictionary, avoid the creation of an useless empty tuple.
2017-01-03 02:01:42 +01:00
Victor Stinner 6f7c0ae46d Issue #28839: Optimize function_call()
function_call() now simply calls _PyFunction_FastCallDict().

_PyFunction_FastCallDict() is more efficient: it contains fast paths for the
common case (optimized code object and no keyword argument).
2017-01-03 01:58:17 +01:00
Berker Peksag b03beefb24 Issue #15812: Merge from 3.6 2017-01-03 03:48:55 +03:00
Berker Peksag 3f988744b0 Issue #15812: Merge from 3.5 2017-01-03 03:48:34 +03:00
Berker Peksag 225b01b840 Issue #15812: Delete redundant max(start, 0)
Noticed by Serhiy Storchaka.
2017-01-03 03:48:04 +03:00
Victor Stinner e8cfec5abc Issue #29035: Simplify a regex in libregrtest
regrtest: simplify the regex used to match test names for the --fromfile
command line option.
2017-01-03 01:38:58 +01:00
Berker Peksag c9c760d6ec Issue #29012: Merge from 3.6 2017-01-03 03:36:15 +03:00
Berker Peksag 406c252970 Issue #29012: Merge from 3.5 2017-01-03 03:35:49 +03:00
Berker Peksag 7b4e551091 Issue #29012: Remove another outdated information
Patch by Jim Fasarakis-Hilliard.
2017-01-03 03:34:15 +03:00
Ned Deily dba46d2e96 merge 3.6 2017-01-02 02:51:59 -05:00
Ned Deily 2eb97231b8 merge 3.5 2017-01-02 02:50:33 -05:00
Ned Deily e8134afd8e merge 3.4 2017-01-02 02:48:26 -05:00
Ned Deily 0717564746 merge 3.3 2017-01-02 02:47:35 -05:00
Ned Deily c276ffa0a9 ring IDLE.app into 2017, too 2017-01-02 02:46:09 -05:00
Larry Hastings 1c37ba7924 Added tag v3.5.3rc1 for changeset de530d7f21c0 2017-01-01 22:13:39 -08:00
Larry Hastings af17a2bfba Added tag v3.4.6rc1 for changeset e199a272ccda 2017-01-01 22:13:29 -08:00
Larry Hastings b32a03430f Version bump for 3.5.3rc1. 2017-01-01 22:12:52 -08:00
Larry Hastings d12551fe71 Version bump for 3.4.6rc1. 2017-01-01 22:12:36 -08:00
Larry Hastings e562a95003 Regenerated pydoc topics for 3.5.3rc1. 2017-01-01 22:09:56 -08:00
Larry Hastings 8f24f665d7 Regenerated pydoc topics for 3.4.6rc1. (Also fixed doc error, improved build.) 2017-01-01 22:09:46 -08:00
Larry Hastings e597dfdb5c Null merge from 3.6. 2017-01-01 21:51:09 -08:00
Larry Hastings 292275cad8 Null merge from 3.5. 2017-01-01 21:50:55 -08:00
Larry Hastings 33014caa46 Null merge from 3.4. 2017-01-01 21:50:33 -08:00
Larry Hastings 03fdeb786c Fix test failure so it's no longer dependent on example.com. 2017-01-01 21:49:09 -08:00
Benjamin Peterson 41555bf35c merge heads 2017-01-01 22:30:49 -06:00
Benjamin Peterson 646bf754e3 merge 3.6 (#29057) 2017-01-01 22:30:35 -06:00
Benjamin Peterson 46322587ec merge 3.5 (#29057) 2017-01-01 22:30:26 -06:00
Benjamin Peterson 493ac1bbe0 only include sys/random.h if it seems like it might have something useful (#29057) 2017-01-01 22:29:36 -06:00
Steve Dower ea74f0cd4a Issue #24932: Use proper command line parsing in _testembed 2017-01-01 20:25:03 -08:00
Benjamin Peterson 4fb5e76dca merge 3.6 2017-01-01 22:09:34 -06:00
Benjamin Peterson e953a72376 merge heads 2017-01-01 22:09:30 -06:00
Benjamin Peterson 51b45a1093 merge 3.5 2017-01-01 22:09:23 -06:00
Benjamin Peterson eb62be12f0 merge heads 2017-01-01 22:09:18 -06:00
Benjamin Peterson c9d4c60a56 merge heads 2017-01-01 22:09:07 -06:00
Benjamin Peterson 6784be1d00 merge 3.6 2017-01-01 22:08:51 -06:00
Benjamin Peterson 5848e72ee1 merge 3.5 2017-01-01 22:08:44 -06:00