Commit Graph

97586 Commits

Author SHA1 Message Date
Raymond Hettinger 9af740b99a merge 2016-11-21 17:24:58 -08:00
Raymond Hettinger a3fec1543d Issue #27100: With statement reports missing __enter__ before __exit__. (Contributed by Jonathan Ellington.) 2016-11-21 17:24:23 -08:00
Raymond Hettinger 21fb9f1761 merge 2016-11-21 16:59:30 -08:00
Raymond Hettinger 4e17e04237 Issue #26163: Disable periodically failing test which was overly demanding of the frozenset hash function effectiveness 2016-11-21 16:59:04 -08:00
Raymond Hettinger fc3f50cac9 merge 2016-11-21 16:48:25 -08:00
Raymond Hettinger 6b3481c4ed Issue #5830: Add test for ee476248a74a. (Contributed by Serhiy Storchaka.) 2016-11-21 16:48:10 -08:00
Raymond Hettinger 1330eaa906 merge 2016-11-21 16:31:32 -08:00
Raymond Hettinger 6da9078195 Issue #27825: Improve for statistics data arguments. (Contributed by Mariatta Wijaya.) 2016-11-21 16:31:02 -08:00
Raymond Hettinger 8c5e190d36 Issue #28587: Improve list examples in the tutorial 2016-11-21 16:29:50 -08:00
Raymond Hettinger e205f8b29e merge 2016-11-21 15:32:26 -08:00
Raymond Hettinger 6023d33433 Issue #28743: Reduce memory consumption for random module tests 2016-11-21 15:32:08 -08:00
Raymond Hettinger 1f56e25412 merge 2016-11-21 15:13:38 -08:00
Raymond Hettinger 7f94619555 Fix grammar 2016-11-21 15:13:18 -08:00
Raymond Hettinger 5bd5b9d813 Issue 28587: list.index documentation missing start and stop arguments. (Contributed by Mariatta Wijaya.) 2016-11-21 15:12:54 -08:00
Yury Selivanov 4878d001b1 Merge 3.6 (issue #28652) 2016-11-21 17:47:54 -05:00
Yury Selivanov 5cb0c09fa6 Merge 3.5 (issue #28652) 2016-11-21 17:47:41 -05:00
Yury Selivanov dab0584738 Issue #28652: Partially rollback previous changes
Allow AF_UNIX in create_server & create_connection
2016-11-21 17:47:27 -05:00
Raymond Hettinger 6088cfcfd4 merge 2016-11-21 14:34:51 -08:00
Raymond Hettinger bf87126a63 Issue 28475: Improve error message for random.sample() with k < 0. (Contributed by Francisco Couzo). 2016-11-21 14:34:33 -08:00
Serhiy Storchaka e425bd95e9 Issue #28752: Restored the __reduce__() methods of datetime objects. 2016-11-22 00:30:32 +02:00
Serhiy Storchaka 546ce65968 Issue #28752: Restored the __reduce__() methods of datetime objects. 2016-11-22 00:29:42 +02:00
Raymond Hettinger 4ea37703ac Merge 2016-11-21 14:24:51 -08:00
Raymond Hettinger f89854f89c Issue 28751: Fix comments in code.h. (Contributed by Ned Batchelder). 2016-11-21 14:24:32 -08:00
Raymond Hettinger 43dfe2b386 merge 2016-11-21 14:13:29 -08:00
Raymond Hettinger 1149d9326e Add analysis section to motivate the single server queue example 2016-11-21 14:13:07 -08:00
Raymond Hettinger c34e8604c8 merge 2016-11-21 12:34:12 -08:00
Raymond Hettinger e1329105b3 Misc readability and organization improvements for the random docs 2016-11-21 12:33:50 -08:00
Raymond Hettinger 46d8e3181e merge 2016-11-21 10:52:20 -08:00
Raymond Hettinger 0537405ec1 Add a seealso section for further reference and skill building 2016-11-21 10:52:04 -08:00
Raymond Hettinger 442e6b1286 merge 2016-11-21 10:16:25 -08:00
Raymond Hettinger 8ab1258b58 Simplify code in an example 2016-11-21 10:16:01 -08:00
Ethan Furman 6be8b1ea99 close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico. 2016-11-21 09:22:40 -08:00
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