Commit graph

97604 commits

Author SHA1 Message Date
Ethan Furman
23bb6f48ea close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico. 2016-11-21 09:22:05 -08:00
Ethan Furman
e31cc818ce NEWS update 2016-11-21 08:39:57 -08:00
Ethan Furman
64a6861b0f issue28082: actually include NEWS entry 2016-11-21 08:39:32 -08:00
Ethan Furman
b779f3171a update news and re doc 2016-11-21 08:30:55 -08:00
Ethan Furman
c88c80b716 closes issue28082: doc update and NEWS entry 2016-11-21 08:29:31 -08:00
Ethan Furman
00eacac96b closes issue23591: add NEWS entry 2016-11-21 08:28:56 -08:00
INADA Naoki
92c50eee52 Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict
Improve speed of dict literal with constant keys up to 30%.
2016-11-22 00:57:02 +09:00
Victor Stinner
c0be040b48 Issue #28688: Null merge 3.6 2016-11-21 16:45:54 +01:00
Victor Stinner
f9646ca5b7 Issue #28688: Null merge 3.5
The Python 3.5 change must not be applied to Python 3.6.
2016-11-21 16:45:19 +01:00
Victor Stinner
6c7fb55d44 Issue #28688: Remove warnings.filters check from regrtest
Reloading the warnings module duplicates filters in warnings.filters. Fixing
the issue is tricky. It was decided to simply remove the check from Python 3.5,
since the bug only impacts Python unit tests, not real applications.

The check is kept in Python 3.6 and newer.
2016-11-21 16:44:01 +01:00
Victor Stinner
065507f03a Merge 3.6 2016-11-21 16:39:01 +01:00
Victor Stinner
b44fb128ae Implement rich comparison for _sre.SRE_Pattern
Issue #28727: Regular expression patterns, _sre.SRE_Pattern objects created by
re.compile(), become comparable (only x==y and x!=y operators). This change
should fix the issue #18383: don't duplicate warning filters when the warnings
module is reloaded (thing usually only done in unit tests).
2016-11-21 16:35:08 +01:00
Martin Panter
d16a9d4840 Merge doc fixes from 3.6 2016-11-21 13:41:07 +00:00
Martin Panter
a2f7ee8b26 Fix up grammar, markup, etc in 3.6 What’s New 2016-11-21 13:38:59 +00:00
Martin Panter
8a6333dabf Merge doc fixup from 3.5 2016-11-21 13:40:40 +00:00
Martin Panter
6a4d7629da Fix indentation 2016-11-21 13:36:36 +00:00
INADA Naoki
7fc69f2373 Issue #28532: Show sys.version when -V option is supplied twice 2016-11-21 20:58:10 +09:00
INADA Naoki
0e175a6e76 Issue #28532: Show sys.version when -V option is supplied twice 2016-11-21 20:57:14 +09:00
Serhiy Storchaka
d4510a8b68 Change an en-dash to an em-dash. 2016-11-21 13:40:45 +02:00
Raymond Hettinger
7857ab2740 merge 2016-11-21 02:00:04 -08:00
Raymond Hettinger
6befb64172 Extend and improve the examples for the random module 2016-11-21 01:59:39 -08:00
Serhiy Storchaka
50911476f5 Issue #28760: Clean up and fix comments in PyUnicode_AsUnicodeEscapeString().
Patch by Xiang Zhang.
2016-11-21 11:47:16 +02:00
Serhiy Storchaka
ac0720eaa4 Issue #28760: Clean up and fix comments in PyUnicode_AsUnicodeEscapeString().
Patch by Xiang Zhang.
2016-11-21 11:46:51 +02:00
Serhiy Storchaka
f80e740b77 Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
2016-11-21 11:38:37 +02:00
Serhiy Storchaka
bb8fd5b1eb Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
2016-11-21 11:38:14 +02:00
Serhiy Storchaka
06a8dea46d Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
2016-11-21 11:37:18 +02:00
Serhiy Storchaka
b57d9eac41 Issue #28748: Private variable _Py_PackageContext is now of type "const char *"
rather of "char *".
2016-11-21 10:25:54 +02:00
Gregory P. Smith
1fb1c998b2 replace --with-optimizations references with --enable-optimizations in docs. 2016-11-21 00:13:15 -08:00
Gregory P. Smith
2863c387b0 replace --with-optimizations references with --enable-optimizations in docs. 2016-11-21 00:12:40 -08:00
Gregory P. Smith
aa5a13f5ad replace --with-optimizations references with --enable-optimizations in docs. 2016-11-21 00:11:47 -08:00
Martin Panter
1107a3e2ea Merge doc fixups from 3.6 2016-11-21 04:22:43 +00:00
Martin Panter
28540183c9 Another en → em dash fix for 3.6 2016-11-21 04:10:45 +00:00
Martin Panter
99b6f28351 Merge doc fixups from 3.5 2016-11-21 04:22:22 +00:00
Guido van Rossum
6496daf860 Issue #28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331) (3.6->3.7) 2016-11-20 18:01:37 -08:00
Guido van Rossum
ceccc85620 Issue #28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331) (3.5->3.6) 2016-11-20 18:01:33 -08:00
Guido van Rossum
b24569a19d Issue #28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331) 2016-11-20 18:01:29 -08:00
Gregory P. Smith
a9ef715b39 issue 20572: remove the deprecation notice for the deleted endtime parameter. 2016-11-20 16:35:30 -08:00
Gregory P. Smith
82604e03dc Issue #20572: Remove the subprocess.Popen.wait endtime parameter.
It was deprecated in 3.4 and undocumented prior to that.
2016-11-20 16:31:07 -08:00
Gregory P. Smith
f0e98c510d Issue #20572: The subprocess.Popen.wait method's undocumented endtime
parameter now raises a DeprecationWarning.  It was deprecated in 3.4.
It was never documented prior to that.
2016-11-20 16:25:14 -08:00
Martin Panter
357ed2e577 Change double hyphens (en dashes) to em (longer) dashes 2016-11-21 00:15:20 +00:00
Martin Panter
439f92ae3d Merge typo fixes from 3.6 2016-11-20 22:18:08 +00:00
Martin Panter
7d6e9232b1 Issue #25659: Merge ctypes fix from 3.6 2016-11-20 22:17:44 +00:00
Martin Panter
a57890e5ec Issue #10656: Merge AIX build fix from 3.6 2016-11-20 22:16:46 +00:00
Martin Panter
04b35753f7 Issue #25659: Merge ctypes fix from 3.5 2016-11-20 22:07:29 +00:00
Martin Panter
e45df0a6da Issue #10656: Merge AIX build fix from 3.5 2016-11-20 22:06:44 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
6a8f60d624 null merge 2016-11-20 21:17:23 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
fe914c034f Rename the new --with-optimiations flag to --enable-optimizations. 2016-11-20 21:17:01 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
57ea576b07 move the enable-optimizations mention to the correct Build section. 2016-11-20 21:16:41 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
164eea5443 Rename the new --with-optimiations flag to --enable-optimizations. 2016-11-20 21:13:16 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
1016b2ff00 Rename the new --with-optimiations flag to --enable-optimizations. 2016-11-20 21:07:42 +00:00