Commit Graph

97218 Commits

Author SHA1 Message Date
Raymond Hettinger 51447db47c Clearer compact dict attribution to the original proposal 2016-12-29 23:49:20 -07:00
Raymond Hettinger e9ee207622 Issue #29061: secrets.randbelow() would hang with a negative input 2016-12-29 22:54:25 -07:00
Xiang Zhang 9ea82ddad5 Issue #29112: Merge 3.5. 2016-12-30 11:57:40 +08:00
Xiang Zhang cea904f286 Issue #29112: Fix a questionable wording in sequence doc. 2016-12-30 11:57:09 +08: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 acc2f74ca9 fix error check, so that Random.seed actually uses OS randomness (closes #29085) 2016-12-28 20:02:35 -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 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 bfce0f977d Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto 2016-12-28 15:41:09 -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 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 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 b7fc5e42c5 Issue #29073: Added a test for bytearray formatting with null byte. 2016-12-28 09:56:52 +02:00
Serhiy Storchaka c9ad8b7a23 Issue #29073: bytearray formatting no longer truncates on first null byte. 2016-12-28 09:54:22 +02:00
Serhiy Storchaka 44223e9550 Issue #29087: Removed the documentation of non-existing UCS4 support functions. 2016-12-28 09:19:45 +02:00
Serhiy Storchaka af9181a4f2 Issue #29087: Removed the documentation of non-existing UCS4 support functions. 2016-12-28 09:19:15 +02:00
Serhiy Storchaka 32665009c3 Issue #23903: Added missed Windows-specific names to PC/python3.def. 2016-12-27 17:41:07 +02:00
Serhiy Storchaka e721be1faa Issue #23903: Added missed Windows-specific names to PC/python3.def. 2016-12-27 17:38:16 +02: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 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
Berker Peksag 5d1111e87e Issue #29069: Merge from 3.5 2016-12-27 15:16:55 +03:00
Berker Peksag 1fee5151f7 Issue #29069: Update the default URL of PyPI server
Patch by paka.
2016-12-27 15:16:25 +03:00
Berker Peksag fe607beef7 Merge from 3.5 2016-12-27 15:09:35 +03:00
Berker Peksag 8e2bdc8fe8 Move versionadded inside of the get_terminal_size() block 2016-12-27 15:09:11 +03: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
Serhiy Storchaka 26f15a430f Issue #23903: Fixed errors and remove non-existing names in python3.def. 2016-12-27 11:51:15 +02:00
Serhiy Storchaka d54d3d3d90 Issue #23903: Fixed errors and remove non-existing names in python3.def. 2016-12-27 11:49:53 +02:00
Raymond Hettinger bb2839b680 Issue #29055: Suppress upstream exception for random.choice() 2016-12-27 01:06:52 -08:00
Terry Jan Reedy 246cbf23fa Issue #29071: IDLE now colors f-string prefixes (but not invalid ur prefixes). 2016-12-27 00:05:26 -05: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
Serhiy Storchaka a8803d21e7 Merge from 3.5. 2016-12-25 16:23:42 +02:00
Serhiy Storchaka 4398c12b47 Issue #29068: Fixed a typo in PyErr_Fetch example.
Patch by Chi Hsuan Yen.
2016-12-25 16:22:23 +02:00
R David Murray a7613aa06c Merge: #25591: improve imap tests. 2016-12-24 21:34:05 -05:00
R David Murray b079c07f7d #25591: improve imap tests.
Patch by Maciej Szulik.
2016-12-24 21:32:26 -05:00
Martin Panter da31ba9b92 Issue #28815: Merge test_socket fix from 3.5 2016-12-24 10:53:18 +00:00
Martin Panter e9ae5f9b16 Issue #28815: Skip TIPC tests if /proc/modules is not readable
Based on patch by Patrila.
2016-12-24 10:41:37 +00:00
Martin Panter 7e930d7677 Issue #28954: Merge keyword argument syntax from 3.5 2016-12-24 10:21:30 +00:00
Martin Panter 7106a51c71 Issue #28954: Add missing comma to keyword argument syntax 2016-12-24 10:20:38 +00:00
Martin Panter 0efb5b3538 Issue #1446619: Merge slicing description from 3.5 2016-12-24 08:31:11 +00:00
Martin Panter 3dbd87f2b9 Issue #1446619: Account for negative slice direction in description
Based on suggestion from Fumihiro Bessho.
2016-12-24 08:25:15 +00:00
Martin Panter 520569e9bd Issue #29004: Merge crc_hqx() doc from 3.5 2016-12-24 07:44:03 +00:00
Martin Panter 3a72ee5b5a Issue #28960: Merge Thread.join() doc from 3.5 2016-12-24 07:40:09 +00:00