Commit Graph

23181 Commits

Author SHA1 Message Date
Steve Dower ea74f0cd4a Issue #24932: Use proper command line parsing in _testembed 2017-01-01 20:25:03 -08:00
Berker Peksag 6215e524a2 Issue #15812: Merge from 3.6 2017-01-02 07:00:29 +03:00
Berker Peksag 01debaccdd Issue #15812: Merge from 3.5 2017-01-02 06:59:12 +03:00
Berker Peksag ff0e3b7a54 Issue #15812: inspect.getframeinfo() now correctly shows the first line of a context
Patch by Sam Breese.
2017-01-02 06:57:43 +03:00
Berker Peksag 81b64ff01b Issue #26267: Merge from 3.6 2016-12-31 20:09:14 +03:00
Berker Peksag 9db22dd968 Issue #26267: Merge from 3.5 2016-12-31 20:08:53 +03:00
Berker Peksag 6b5e4a86a7 Issue #26267: Improve uuid.UUID documentation
* Document how comparison of UUID objects work
* Document str(uuid) returns the braceless standard form
* Add a test for comparison of a UUID object with a non-UUID object

Patch by Ammar Askar.
2016-12-31 20:08:16 +03:00
Vinay Sajip d489ac9102 Closes #28524: added default level for logging.disable(). 2016-12-31 11:40:11 +00: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
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 d4313742fd Issue #29073: Added a test for bytearray formatting with null byte. 2016-12-28 09:57:11 +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
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
R David Murray 21c8e81bb6 Merge: #25591: improve imap tests. 2016-12-24 21:35:01 -05: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 871e01885c Issue #28815: Merge test_socket fix from 3.6 2016-12-24 11:24:45 +00: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
Serhiy Storchaka 8cbd3df3ce Issue #28992: Use bytes.fromhex(). 2016-12-21 12:59:28 +02:00
Serhiy Storchaka 47bdc40352 Merge from 3.6. 2016-12-21 12:36:29 +02:00
Serhiy Storchaka 690e81f63f Merge from 3.5. 2016-12-21 12:35:11 +02:00
Serhiy Storchaka 18f018ca12 Issue #28871: Fixed a crash when deallocate deep ElementTree. 2016-12-21 12:32:56 +02:00
Xiang Zhang b211068f5c Issue #28822: Adjust indices handling of PyUnicode_FindChar(). 2016-12-20 22:52:33 +08:00
INADA Naoki 6165d55f13 Issue #28147: Fix a memory leak in split-table dictionaries
setattr() must not convert combined table into split table.
2016-12-20 09:54:24 +09:00
Serhiy Storchaka dd1da7f74a Issue #28927: bytes.fromhex() and bytearray.fromhex() now ignore all ASCII
whitespace, not only spaces.  Patch by Robert Xiao.
2016-12-19 18:51:37 +02:00
Xiang Zhang f76df27806 Issue #28950: Merge 3.6. 2016-12-19 22:05:46 +08:00
Xiang Zhang 772bf2ed83 Issue #28950: Disallow -j0 combined with -T/-l in regrtest. 2016-12-19 22:00:22 +08:00
Xiang Zhang 270a21fda0 Issue #28950: Disallow -j0 combined with -T/-l/-M in regrtest. 2016-12-19 21:01:33 +08:00
Antoine Pitrou ec60edb977 Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
when a GC collection happens in another thread.

Original patch and report by Armin Rigo.
2016-12-19 10:59:15 +01:00
Antoine Pitrou d4580ecb8d Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
when a GC collection happens in another thread.

Original patch and report by Armin Rigo.
2016-12-19 10:58:14 +01:00
Antoine Pitrou c1ee488962 Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
when a GC collection happens in another thread.

Original patch and report by Armin Rigo.
2016-12-19 10:56:40 +01:00
Xavier de Gaye e0c4e96119 Issue #28996: Merge 3.6. 2016-12-19 10:46:59 +01:00
Xavier de Gaye 5bccb0e03d Issue #28996: Skip two tests that fail on Android with the locale strcoll() and
strxfrm() functions.
2016-12-19 10:46:14 +01:00
Martin Panter b46edf35f3 Issue #25677: Merge SyntaxError caret positioning from 3.6 2016-12-19 06:46:12 +00:00
Martin Panter 619555d77b Issue #25677: Merge SyntaxError caret positioning from 3.5 2016-12-19 06:46:01 +00:00
Serhiy Storchaka 932ee73188 Issue #20191: Fixed a crash in resource.prlimit() when pass a sequence that
doesn't own its elements as limits.
2016-12-19 08:07:29 +02:00
Serhiy Storchaka 879199ba11 Issue #20191: Fixed a crash in resource.prlimit() when pass a sequence that
doesn't own its elements as limits.
2016-12-19 08:05:39 +02:00
Serhiy Storchaka b94eef2ae3 Issue #20191: Fixed a crash in resource.prlimit() when pass a sequence that
doesn't own its elements as limits.
2016-12-19 08:04:15 +02:00
Martin Panter fc29c88b5f Issue #28987: Merge doc and comment fixes from 3.6 2016-12-18 05:41:55 +00:00
R David Murray 3e8d9413eb Merge #28407 Improve test coverage of make_msgid. 2016-12-17 22:04:48 -05:00