Commit graph

21128 commits

Author SHA1 Message Date
Serhiy Storchaka
67e1aa0b58 Issue #29094: Offsets in a ZIP file created with extern file object and modes
"w" and "x" now are relative to the start of the file.
2017-01-02 01:43:02 +02:00
Serhiy Storchaka
e465a9af8e Issue #29094: Offsets in a ZIP file created with extern file object and modes
"w" and "x" now are relative to the start of the file.
2017-01-01 19:05:29 +02:00
Serhiy Storchaka
34cba33403 Issue #29094: Offsets in a ZIP file created with extern file object and modes
"w" and "x" now are relative to the start of the file.
2017-01-01 19:00:30 +02:00
Raymond Hettinger
4a5fd61a91 merge 2016-12-31 12:08:19 -07:00
Raymond Hettinger
744c720b69 Issue #29119: Merge in ACK from 3.5 branch 2016-12-31 12:08:00 -07:00
Raymond Hettinger
a67619ec5f merge 2016-12-31 12:02:42 -07:00
Raymond Hettinger
b46ea90343 Issue #29119: Fix weakref in OrderedDict.move_to_end(). Work by Andra Bogildea. 2016-12-31 12:01:59 -07:00
Raymond Hettinger
0ce64323cf merge 2016-12-29 22:55:03 -07:00
Raymond Hettinger
e9ee207622 Issue #29061: secrets.randbelow() would hang with a negative input 2016-12-29 22:54:25 -07:00
Victor Stinner
f9bd0597bd Merge 3.6 2016-12-30 02:15:37 +01:00
Victor Stinner
771cf898f4 Merge 3.5 2016-12-30 02:15:29 +01:00
Victor Stinner
440d70301b Issue #29109: Enhance tracemalloc documentation
* Wrong parameter name, 'group_by' instead of 'key_type'
* Don't round up numbers when explaining the examples. If they exactly match
  what can be read in the script output, it is to easier to understand
  (4.8 MiB vs 4855 KiB)
* Fix incorrect method link that was pointing to another module

Patch written by Loic Pefferkorn.
2016-12-30 02:14:59 +01:00
Benjamin Peterson
e70ca463eb merge 3.6 (#29085) 2016-12-28 20:03:23 -08:00
Benjamin Peterson
acc2f74ca9 fix error check, so that Random.seed actually uses OS randomness (closes #29085) 2016-12-28 20:02:35 -08:00
Steve Dower
0a24415b2f Issue #29079: Prevent infinite loop in pathlib.resolve() on Windows 2016-12-28 16:03:28 -08:00
Steve Dower
4b1e98b0af Issue #29079: Prevent infinite loop in pathlib.resolve() on Windows 2016-12-28 16:02:59 -08:00
Steve Dower
13b0de95bc Issue #29080: Fixes Misc/NEWS entry 2016-12-28 15:43:45 -08:00
Steve Dower
40619399bd Issue #29080: Fixes Misc/NEWS entry 2016-12-28 15:43:28 -08:00
Steve Dower
74b1bcc430 Issue #29080: Fixes Misc/NEWS entry 2016-12-28 15:43:08 -08:00
Steve Dower
280408bf1c Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto 2016-12-28 15:41:53 -08:00
Steve Dower
bfce0f977d Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto 2016-12-28 15:41:09 -08:00
Steve Dower
a558be76c2 Issue #29080: Removes hard dependency on hg.exe from PC/build.bat 2016-12-28 14:38:54 -08:00
Steve Dower
654da960a0 Issue #29080: Removes hard dependency on hg.exe from PC/build.bat 2016-12-28 14:38:08 -08:00
Steve Dower
7ec8a18514 Issue #29080: Removes hard dependency on hg.exe from PC/build.bat 2016-12-28 14:37:44 -08:00
Serhiy Storchaka
d36432f755 Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox.
Based on patch by Tycho Andersen.
2016-12-28 10:23:24 +02:00
Serhiy Storchaka
6c57708949 Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox.
Based on patch by Tycho Andersen.
2016-12-28 10:22:56 +02:00
Serhiy Storchaka
bdf9e0ea74 Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox.
Based on patch by Tycho Andersen.
2016-12-28 10:16:06 +02:00
Serhiy Storchaka
aa0f8e9cff Issue #9770: curses.ascii predicates now work correctly with negative integers. 2016-12-28 10:07:16 +02:00
Serhiy Storchaka
686c1f6915 Issue #9770: curses.ascii predicates now work correctly with negative integers. 2016-12-28 10:06:33 +02:00
Serhiy Storchaka
283de2b9c1 Issue #9770: curses.ascii predicates now work correctly with negative integers. 2016-12-28 10:04:27 +02:00
Serhiy Storchaka
c9ad8b7a23 Issue #29073: bytearray formatting no longer truncates on first null byte. 2016-12-28 09:54:22 +02:00
Antoine Pitrou
c06ae208eb Issue #28427: old keys should not remove new values from
WeakValueDictionary when collecting from another thread.
2016-12-27 14:34:54 +01:00
Antoine Pitrou
d741ed492f Issue #28427: old keys should not remove new values from
WeakValueDictionary when collecting from another thread.
2016-12-27 14:23:43 +01:00
Antoine Pitrou
e10ca3a0fe Issue #28427: old keys should not remove new values from
WeakValueDictionary when collecting from another thread.
2016-12-27 14:19:20 +01:00
Serhiy Storchaka
a171a03bd2 Issue #29058: All stable API extensions added after Python 3.2 are now
available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of
the minimum Python version supporting this API.
2016-12-27 15:04:59 +02:00
Serhiy Storchaka
34d0ac8027 Issue #29058: All stable API extensions added after Python 3.2 are now
available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of
the minimum Python version supporting this API.
2016-12-27 14:57:39 +02:00
Serhiy Storchaka
fd54a74539 Issue #23903: Added missed names to PC/python3.def. 2016-12-27 12:17:41 +02:00
Serhiy Storchaka
c70081cfc1 Issue #23903: Added missed names to PC/python3.def. 2016-12-27 12:13:05 +02:00
Serhiy Storchaka
6664e8c741 Issue #23903: Added missed names to PC/python3.def. 2016-12-27 12:10:58 +02:00
Raymond Hettinger
f45e858c60 merge 2016-12-27 01:07:13 -08:00
Raymond Hettinger
bb2839b680 Issue #29055: Suppress upstream exception for random.choice() 2016-12-27 01:06:52 -08:00
Xiang Zhang
b3b01c3248 Issue #29078: Merge 3.6. 2016-12-27 12:32:33 +08:00
Xiang Zhang
b8a1aebb3d Issue #29078: Merge 3.5. 2016-12-27 12:30:42 +08:00
Xiang Zhang
6721c7c3b2 Issue #29078: Add the missing import in datetime.time doc example.
Patch by Dhushyanth Ramasamy.
2016-12-27 12:23:59 +08:00
INADA Naoki
5a625d0aa6 Issue #29049: Call _PyObject_GC_TRACK() lazily when calling Python function.
Calling function is up to 5% faster.
2016-12-24 20:19:08 +09:00
Ned Deily
190042a48f Merge 3.6.0 release into default 2016-12-23 04:10:46 -05:00
Ned Deily
93357d8d43 Merge 3.6.0 release engineering head 2016-12-22 19:50:19 -05:00
Ned Deily
5c4568a05a Update docs and patchlevel for 3.6.0 final. 2016-12-22 18:38:47 -05:00
Xavier de Gaye
507cbb0c0c Issue #28762: Merge 3.6. 2016-12-22 10:40:44 +01:00
Xavier de Gaye
bdf0d0f039 Issue #28762: lockf() is available on Android API level 24, but the
F_LOCK macro is not defined in android-ndk-r13.
2016-12-22 10:38:59 +01:00