Commit graph

97328 commits

Author SHA1 Message Date
Steve Dower
f0888cd734 Issue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst command. 2016-11-23 10:23:47 -08:00
Victor Stinner
c8af302c3a Issue #28770: Update python-gdb.py for fastcalls
Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict()
frames.

Thanks to the new code to handle fast calls, python-gdb.py is now also able to
detect the <built-in id method of module ...> frame.
(grafted from f41d02d7da373ccaff97a42b66b051260bd55996)
2016-11-22 22:53:18 +01:00
Victor Stinner
eae64fda5b Issue #28770: Update python-gdb.py for fastcalls
Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict()
frames.

Thanks to the new code to handle fast calls, python-gdb.py is now also able to
detect the <built-in id method of module ...> frame.
2016-11-22 22:53:18 +01:00
Xavier de Gaye
cb9ab0f50b Issue #26941: Fix test_threading that hangs on the Android armv7 qemu emulator. 2016-12-08 12:21:00 +01:00
Xavier de Gaye
f79606debd Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator. 2016-12-08 11:26:18 +01:00
Xavier de Gaye
7522ef402c Issue #26939: Add the support.setswitchinterval() function to fix
test_functools hanging on the Android armv7 qemu emulator.
2016-12-08 11:06:56 +01:00
Benjamin Peterson
0d5742dec0 guard HAVE_LONG_LONG definition to prevent redefinition (#28898) 2016-12-07 23:54:28 -08:00
Ned Deily
098f85bb7d Issue #28900: Update documentation sidebar for 3.6.0rc. 2016-12-07 23:37:12 -05:00
Yury Selivanov
eb58936b64 Issue #28635: Drop the note that whatsnew is incomplete 2016-12-07 16:19:56 -08:00
Serhiy Storchaka
427f10b442 Merge from 3.5. 2016-12-07 13:31:47 +02:00
INADA Naoki
2c5a830f2a Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict.
Improve speed of dict literal with constant keys up to 30%.
2016-12-07 18:34:44 +09:00
Serhiy Storchaka
0c78634d78 Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Original patch by Andreas Stührk.
2016-12-07 11:26:49 +02:00
Serhiy Storchaka
520348e5c0 Issue #28847: dbm.dumb now supports reading read-only files and no longer
writes the index file when it is not changed.
2016-12-07 11:00:06 +02:00
Ned Deily
3ca43ed956 Prepare for 3.6.1. Any further 3.6.0 release candidates and 3.6.0 final will be cherrypicked and merged here. 2016-12-07 01:59:27 -05:00
Raymond Hettinger
64e2f9ac86 Issue #27100: Fix ref leak 2016-11-22 11:50:40 -08:00
Steve Dower
02a4018c6e Issue #28573: Missing sys._mercurial info and other build issues. 2016-11-22 11:48:52 -08:00
Victor Stinner
bcf4dccfa7 Issue #28727: Optimize pattern_richcompare() for a==a
A pattern is equal to itself.
2016-11-22 15:30:38 +01:00
Victor Stinner
e670b2d5c3 Issue #28727: Fix typo in pattern_richcompare()
Typo catched by Serhiy Storchaka, thanks!
2016-11-22 15:23:00 +01:00
Victor Stinner
3a5d79fbc8 Issue #28023: Fix python-gdb.py on old GDB versions
Replace int(value.address)+offset with value.cast(unsigned char*)+offset.

It seems like int(value.address) fails on old versions of GDB.
2016-11-22 13:09:39 +01:00
INADA Naoki
d7d2bc8798 Issue #28023: Fix python-gdb.py didn't support new dict implementation 2016-11-22 19:40:58 +09:00
Ned Deily
f50a85df1f Start 3.6.0rc1. (Note, patch level was incorrectly set to 3.6.0b4+ following b3. It is now b4+ again.) 2016-11-22 01:21:04 -05:00
Ned Deily
6f4f2e4762 Added tag v3.6.0b4 for changeset 18496abdb3d5 2016-11-21 23:31:39 -05:00
Ned Deily
38c508a00c Version bump for 3.6.0b4 2016-11-21 23:30:55 -05:00
Ned Deily
19df707b37 Update pydoc topics for 3.6.0b4 2016-11-21 23:24:38 -05: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
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
6b3481c4ed Issue #5830: Add test for ee476248a74a. (Contributed by Serhiy Storchaka.) 2016-11-21 16:48:10 -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
6023d33433 Issue #28743: Reduce memory consumption for random module tests 2016-11-21 15:32:08 -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
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
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
546ce65968 Issue #28752: Restored the __reduce__() methods of datetime objects. 2016-11-22 00:29:42 +02: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
1149d9326e Add analysis section to motivate the single server queue example 2016-11-21 14:13:07 -08:00
Raymond Hettinger
e1329105b3 Misc readability and organization improvements for the random docs 2016-11-21 12:33:50 -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
8ab1258b58 Simplify code in an example 2016-11-21 10:16:01 -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
64a6861b0f issue28082: actually include NEWS entry 2016-11-21 08:39:32 -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
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
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
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