Commit Graph

94934 Commits

Author SHA1 Message Date
Alexander Belopolsky 8e1d3a2d41 Issue 24773: Added a time_t overflow check. 2016-07-25 13:54:51 -04:00
Terry Jan Reedy 43b17134e9 Issue #24137, issue #27611: Restore tkinter after test_idle. 2016-07-25 00:31:54 -04:00
Martin Panter b93d8637a6 Issue #1621: Avoid signed overflow in list and tuple operations
Patch by Xiang Zhang.
2016-07-25 02:39:20 +00:00
Martin Panter 32d2ce3561 Issue #27581: Merge overflow fix from 3.5 2016-07-25 03:31:29 +00:00
Terry Jan Reedy c665dfd73e Issue #19198: IDLE: tab after initial whitespace should tab, not autocomplete.
Fixes problem with writing docstrings at lease twice indented.
2016-07-24 23:01:28 -04:00
Martin Panter e8db861f47 Issue #27581: Don’t rely on overflow wrapping in PySequence_Tuple()
Patch by Xiang Zhang.
2016-07-25 02:30:05 +00:00
Martin Panter 996d72bccf Issue #7063: Remove dead code from array slice handling
Patch by Chuck.
2016-07-25 02:21:14 +00:00
Berker Peksag 3b055b5960 Issue #27601: Merge from 3.5 2016-07-25 04:56:19 +03:00
Berker Peksag aa46bd461c Issue #27601: Improve example in the "Hashing of numeric types" section
* Fix return value of hash_compute() implementation
* Rename variable names to hash_value to improve readability

Patch by Emanuel Barry.
2016-07-25 04:55:51 +03:00
Berker Peksag ced8d4c6eb Issue #27454: Use PyDict_SetDefault in PyUnicode_InternInPlace
Patch by INADA Naoki.
2016-07-25 04:40:39 +03:00
Steve Dower 81fb0e33d6 Merge from 3.5 2016-07-24 18:06:51 -07:00
Steve Dower 05338267ab Issue #27610: Adds PEP 514 metadata to Windows installer 2016-07-24 18:04:29 -07:00
Steve Dower 6ed63f31e9 Fixes default intermediate directory when building on Windows. 2016-07-24 18:03:22 -07:00
Alexander Belopolsky 95f7b9fcac Issue 24773: Make zoneinfo tests more robust. (reapply) 2016-07-24 20:36:55 -04:00
Terry Jan Reedy c74fb9c6c5 Issue #27609: Explicitly return None when there are other returns.
In a few cases, reverse a condition and eliminate a return.
2016-07-24 20:35:43 -04:00
Alexander Belopolsky cd28013d00 Reindented Lib/test/datetimetester.py. 2016-07-24 14:41:08 -04:00
Alexander Belopolsky 4719ae7567 Issue #24773: Made ZoneInfoCompleteTest a TestSuit.
This should improve the diagnostic and progress reports.
2016-07-24 14:39:28 -04:00
Alexander Belopolsky 8dadb2155b Issue 24773: Make zoneinfo tests more robust. 2016-07-23 11:16:56 -04:00
Steve Dower 1f7480a67e Fixes bad Misc/NEWS merge 2016-07-23 08:04:11 -07:00
Steve Dower edddc2704c Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly. 2016-07-23 08:02:02 -07:00
Berker Peksag f96c84f6e5 Issue #13849: Merge from 3.5 2016-07-23 08:43:04 +03:00
Berker Peksag 5f804e387e Issue #13849: Fix test_null_bytes under Windows 2016-07-23 08:42:41 +03:00
Berker Peksag 804a39f04f Issue #13849: Merge from 3.5 2016-07-23 07:32:14 +03:00
Berker Peksag 9adc1a38bd Issue #13849: Add tests for null byte checking in test_genericpath 2016-07-23 07:31:47 +03:00
Berker Peksag b3bb436b86 Issue #27493: Fix test_path_objects under Windows 2016-07-23 07:15:12 +03:00
Berker Peksag bd8b443742 Issue #27591: Merge from 3.5 2016-07-23 07:13:41 +03:00
Berker Peksag 1fd497ed91 Issue #27591: Set sigint_event to NULL if _PyOS_IsMainThread() returns false
Patch by Chris Angelico.
2016-07-23 07:13:14 +03:00
Martin Panter 525a949251 Issue #27130: Merge zlib 64-bit fixes from 3.5 2016-07-23 03:39:49 +00:00
Martin Panter 84544c1020 Issue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” module
Patch by Xiang Zhang.
2016-07-23 03:02:07 +00:00
Alexander Belopolsky 5d0c598382 Closes issue #24773: Implement PEP 495 (Local Time Disambiguation). 2016-07-22 18:47:04 -04:00
Vinay Sajip 638e622055 Closes #27493: accepted Path objects in file handlers for logging. 2016-07-22 18:23:04 +01:00
Victor Stinner d3afb62b8f Merge 3.5 (INVALID_SOCKET) 2016-07-22 17:47:09 +02:00
Victor Stinner 524714eeda socket: use INVALID_SOCKET
* Replace "fd = -1" with "fd = INVALID_SOCKET"
* Replace "fd < 0" with "fd == INVALID_SOCKET": SOCKET_T is unsigned on Windows

Bug found by Pavel Belikov ("Fragment N1"):
http://www.viva64.com/en/b/0414/#ID0ECDAE
2016-07-22 17:43:59 +02:00
Victor Stinner 5e1989ce89 Merge 3.5 (fix internal_select) 2016-07-22 17:28:55 +02:00
Vinay Sajip cccf6068fa Closes #26559: Allow configuring flush-on-close behaviour of MemoryHandler. 2016-07-22 16:27:31 +01:00
Victor Stinner 0cec877230 socket: Fix internal_select()
Bug found by Pavel Belikov ("Fragment N1"):
http://www.viva64.com/en/b/0414/#ID0ECDAE
2016-07-22 17:26:53 +02:00
Xavier de Gaye d141531eb5 Issue #27472: Add test.support.unix_shell as the path to the default shell. 2016-07-22 12:15:29 +02:00
Zachary Ware de85ed69f4 Closes #25393: Merge with 3.5 2016-07-19 16:46:09 -05:00
Zachary Ware 48e3f98206 Issue #25393: Fix probable copy/paste error in resource docs
Patch by Alakshendra Yadav.
2016-07-19 16:41:20 -05:00
Berker Peksag fe8d966657 Issue #27567: Expose the POLLRDHUP constant in the select module 2016-07-19 21:09:26 +03:00
Benjamin Peterson a1ea9c813f add mising word 2016-07-18 22:08:19 -07:00
Benjamin Peterson 0715ce358a add EPOLLEXCLUSIVE 2016-07-18 22:02:44 -07:00
Benjamin Peterson 96e97169cc expose EPOLLRDHUP (closes #27567) 2016-07-18 21:47:39 -07:00
Martin Panter 6fb90905e2 Issue #1621: Avoid signed int negation overflow in audioop 2016-07-19 03:05:42 +00:00
Martin Panter e3d747496e Issue #27528: Merge warning doc and test from 3.5 2016-07-19 02:50:51 +00:00
Martin Panter 221945056d Issue #27528: Document and test warning messages must match at beginning 2016-07-19 02:26:38 +00:00
Martin Panter 36261d7446 Issue #16191: Merge comment fixes from 3.5 2016-07-18 08:25:01 +00:00
Martin Panter 95f53c13ce Issue #16191: Fix up references to renamed variables 2016-07-18 08:23:26 +00:00
Martin Panter bd09f15b69 Issue #27507: Merge overflow check from 3.5 2016-07-18 08:18:32 +00:00
Martin Panter 371731ebfd Issue #27507: Check for integer overflow in bytearray.extend()
Patch by Xiang Zhang.
2016-07-18 07:53:13 +00:00