Commit graph

95332 commits

Author SHA1 Message Date
Guido van Rossum
b09b3f7ab9 Add docs for typing.AnyStr and typing.Text. By Michael Lee. (Merge 3.5->3.6) 2016-08-15 15:08:11 -07:00
Guido van Rossum
fc560a84d2 Fix typo in Misc/NEWS. 2016-08-15 15:07:25 -07:00
Guido van Rossum
aa9560c633 Add docs for typing.AnyStr and typing.Text. By Michael Lee. 2016-08-15 15:06:38 -07:00
Ned Deily
a2bd5ccce1 Added tag v3.6.0a4 for changeset 017cf260936b 2016-08-15 16:21:52 -04:00
Ned Deily
b87d6000f3 Version bump for 3.6.0a4 2016-08-15 16:21:29 -04:00
Ned Deily
46b0a3247d Update pydoc topics for 3.6.0a4 2016-08-15 16:12:59 -04:00
Ned Deily
eb3be66b3a Issue #27736: Prevent segfault after interpreter re-initialization due
to ref count problem introduced in code for Issue #27038 in 3.6.0a3.
Patch by Xiang Zhang.
2016-08-15 14:40:38 -04:00
Ned Deily
652bad4f4a Issue #23968: Make OS X installer build script aware of renamed platform
directory and sysconfigdata file name.  This is a workaround for 3.6.0a4
pending resolution of other #23968 items.
2016-08-15 14:37:14 -04:00
Guido van Rossum
0a891d70de Issue #12345: Add mathemathcal constant tau to math and cmath.
Patch by Lisa Roach. See also PEP 628.
2016-08-15 09:12:52 -07:00
Ned Deily
6349612a8e Issue #10910: merge from 3.5 2016-08-15 03:23:23 -04:00
Ned Deily
3d4559936a Issue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround.
The original problem has been fixed in newer versions of FreeBSD.
Patch by Dimitry Andric of the FreeBSD project.
2016-08-15 03:08:18 -04:00
Ned Deily
7659aab5e9 Issue #10910: Avoid C++ compilation errors on FreeBSD and OS X.
Patch by Ronald Oussoren.
2016-08-15 03:07:26 -04:00
Serhiy Storchaka
15f3228b7c Issue #16764: Support keyword arguments to zlib.decompress(). Patch by
Xiang Zhang.
2016-08-15 10:06:16 +03:00
Serhiy Storchaka
eb24988962 Issue #27704: Optimized creating bytes and bytearray from byte-like objects
and iterables.  Speed up to 3 times for short objects.  Original patch by
Naoki Inada.
2016-08-15 09:46:07 +03:00
Nick Coghlan
d00342347e Issue #26823: Abbreviate recursive tracebacks
Large sections of repeated lines in tracebacks are now abbreviated as
"[Previous line repeated {count} more times]" by both the traceback
module and the builtin traceback rendering.

Patch by Emanuel Barry.
2016-08-15 13:11:34 +10:00
Steven D'Aprano
d61a2e75b5 Update Misc/NEWS. 2016-08-15 11:21:08 +10:00
Donald Stufft
704813f1ad merge 3.5 2016-08-14 16:10:31 -04:00
Donald Stufft
80a3ba90fd merge 3.4 2016-08-14 16:10:17 -04:00
Donald Stufft
5e4aafa258 Update setuptools/pip to 25.2.0/8.1.2 2016-08-14 16:09:56 -04:00
Steven D'Aprano
dd51d16b48 Issue27573 code.interact prints a message when exiting. 2016-08-15 04:14:33 +10:00
Steven D'Aprano
a0d3eeff86 Add versionadded tag to docs for timeit.autorange 2016-08-15 02:47:49 +10:00
Steven D'Aprano
09f4f711b6 Issue6422 add autorange method to timeit.Timer 2016-08-15 01:27:03 +10:00
Serhiy Storchaka
9171a8b4ce Issue #27574: Decreased an overhead of parsing keyword arguments in functions
implemented with using Argument Clinic.
2016-08-14 10:52:18 +03:00
Benjamin Peterson
b6f78c2755 merge 3.5 (closes #27760) 2016-08-13 18:37:20 -07:00
Benjamin Peterson
91060f26f9 merge 3.4 (closes #27760) 2016-08-13 18:37:12 -07:00
Benjamin Peterson
5295532adb merge 3.3 (closes #27760) 2016-08-13 18:36:55 -07:00
Benjamin Peterson
4f976513ef fix possible integer overflow in binascii.b2a_qp (closes #27760)
Reported by Thomas E. Hybel
2016-08-13 18:33:33 -07:00
Benjamin Peterson
c0654d4e60 merge 3.5 2016-08-13 18:21:32 -07:00
Benjamin Peterson
f17a8e9acd merge 3.4 2016-08-13 18:21:16 -07:00
Benjamin Peterson
40a77c3381 do not allow reading negative values with getstr() 2016-08-13 18:15:28 -07:00
Benjamin Peterson
7bc44302a0 merge 3.5 (closes #27758) 2016-08-13 17:22:18 -07:00
Benjamin Peterson
9745ee0b44 merge 3.4 (closes #27758) 2016-08-13 17:21:54 -07:00
Benjamin Peterson
59b6abd38c merge 3.3 (#27758) 2016-08-13 17:21:22 -07:00
Benjamin Peterson
6e01d90cc8 check for overflow in join_append_data (closes #27758)
Reported by Thomas E. Hybel
2016-08-13 17:17:06 -07:00
R David Murray
c00189e949 Merge: #27753: fix typo (name->named). 2016-08-13 14:47:54 -04:00
R David Murray
689016fc00 #27753: fix typo (name->named). 2016-08-13 14:47:18 -04:00
Raymond Hettinger
5dd2b8621d merge 2016-08-13 11:15:59 -07:00
Raymond Hettinger
f6ffa9826e Issue #27720: Fix error in eng_to_decimal docs and add examples from the specification.
(Based on a first draft patch from Evelyn Mitchell.)
2016-08-13 11:15:34 -07:00
Berker Peksag
0b9e64122b Issue #24637: Merge from 3.5 2016-08-13 05:38:18 +03:00
Berker Peksag
bd664357f1 Issue #24637: Document that locals can be any mapping object
This behavior is already tested in test_general_eval in
Lib/test/test_builtin.py

Patch by Matthew Keeter.
2016-08-13 05:37:49 +03:00
Alexander Belopolsky
10c2dd216a Issue #24773: Skip system tests for transitions in year 2037 and later. 2016-08-12 19:08:15 -04:00
Brett Cannon
3f63483a30 Merge for issue #27712 2016-08-12 10:57:17 -07:00
Brett Cannon
6336fb2734 Issue #27712: Fix some typos in the import docs.
Thanks to Xiang Zhang for the patch.
2016-08-12 10:56:48 -07:00
Brett Cannon
4a2360d3f7 Issue #25805: Skip a test for test_pkgutil when __name__ == __main__.
Thanks to SilentGhost for the patch.
2016-08-12 10:53:53 -07:00
Raymond Hettinger
87fe473edc merge 2016-08-12 09:44:18 -07:00
Raymond Hettinger
7f65af3d2d Issue 27719: Remove a doc example that is not applicable in Python 3 2016-08-12 09:43:59 -07:00
Martin Panter
c57e4d16ea Issue #25825: Merge AIX fix from 3.5 2016-08-12 13:26:01 +00:00
Martin Panter
5401e87b01 Issue #25825: Fix references to Modules/python.exp
These were incorrectly changed in revision 88a532a31eb3.
2016-08-12 13:21:05 +00:00
Martin Panter
98cf1e79a1 Issue #27745: Merge typo fixes from 3.5 2016-08-12 12:05:48 +00:00
Martin Panter
51ad4cfad3 Issue #26741: Merge ResourceWarning fixes from 3.5 2016-08-12 12:04:27 +00:00