Berker Peksag
b121f16894
Issue #28796 : Silence Sphinx warnings
...
WARNING: Inline emphasis start-string without end-string.
Patch by Julien Palard.
2016-11-25 17:38:13 +03:00
Berker Peksag
5d307ef838
Issue #28793 : Merge from 3.6
2016-11-25 17:31:57 +03:00
Berker Peksag
61d9c8639e
Issue #28793 : Fix c/p error in AsyncGenerator documentation
...
Patch by Julien Palard.
2016-11-25 17:31:27 +03:00
Victor Stinner
6193ecd779
Fix a ResourceWarning in generate_opcode_h.py
...
Use a context manager to close the Python file. Replace also open() with
tokenize.open() to handle coding cookie if any in Lib/opcode.py.
2016-11-25 11:59:52 +01:00
Victor Stinner
1018fad6a4
Issue #28792 : Remove aliases from _bisect
...
Remove aliases from the C module. Always implement bisect() and insort()
aliases in bisect.py
Remove also the "# backward compatibility" command, there is no plan to
deprecate nor remove these aliases. When keys are equal, it makes sense to use
bisect.bisect() and bisect.insort().
2016-11-24 23:31:59 +01:00
Victor Stinner
ed6de7345e
Merge 3.6
2016-11-24 22:33:49 +01:00
Victor Stinner
f7d199ff32
Fix _PyGen_yf()
...
Issue #28782 : Fix a bug in the implementation ``yield from`` when checking
if the next instruction is YIELD_FROM. Regression introduced by WORDCODE
(issue #26647 ).
Reviewed by Serhiy Storchaka and Yury Selivanov.
2016-11-24 22:33:01 +01:00
Victor Stinner
fbff9b3f04
Merge 3.6
2016-11-24 22:31:25 +01:00
Guido van Rossum
596a515074
Issue #28773 : Add typing.FrozenSet docs. (Manuel Krebber) (3.6->3.7)
2016-11-24 11:57:05 -08:00
Guido van Rossum
b3c5dc912d
Issue #28773 : Add typing.FrozenSet docs. (Manuel Krebber) (3.5->3.6)
2016-11-24 11:56:40 -08:00
Guido van Rossum
a860286eab
Issue #28773 : Add typing.FrozenSet docs. (Manuel Krebber)
2016-11-24 11:56:00 -08:00
Raymond Hettinger
87d89d9714
merge
2016-11-24 10:50:57 -08:00
Raymond Hettinger
7e45b5c63c
Issue #27100 : Silence deprecation warning in Lib/test/test_with.py
2016-11-24 10:50:34 -08:00
INADA Naoki
6caaf372de
Issue #28532 : Add what's new entry for python -VV option
2016-11-24 17:21:47 +09:00
INADA Naoki
f576343179
Issue #28532 : Add what's new entry for python -VV option
2016-11-24 17:20:40 +09:00
Steve Dower
d2140cce44
Issue #28783 : Embedded and nuget packages incorrect reference missing bdist_wininst command.
2016-11-23 12:23:16 -08:00
Steve Dower
2a94301911
Issue #28783 : Embedded and nuget packages incorrect reference missing bdist_wininst command.
2016-11-23 11:42:35 -08:00
Steve Dower
f0888cd734
Issue #28783 : Embedded and nuget packages incorrect reference missing bdist_wininst command.
2016-11-23 10:23:47 -08:00
Serhiy Storchaka
99250d5c63
Issue #28774 : Simplified encoding a str result of an error handler in ASCII
...
and Latin1 encoders.
2016-11-23 15:13:00 +02:00
Xiang Zhang
d04d8474df
Issue #28774 : Fix start/end pos in unicode_encode_ucs1().
...
Fix error position of the unicode error in ASCII and Latin1
encoders when a string returned by the error handler contains multiple
non-encodable characters (non-ASCII for the ASCII codec, characters out
of the U+0000-U+00FF range for Latin1).
2016-11-23 19:34:01 +08:00
Victor Stinner
726a57d45f
Issue #28765 : _sre.compile() now checks the type of groupindex and indexgroup
...
groupindex must a dictionary and indexgroup must be a tuple.
Previously, indexgroup was a list. Use a tuple to reduce the memory usage.
2016-11-22 23:04:39 +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
Victor Stinner
e3d75c63cd
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
Raymond Hettinger
3fa28fd075
merge
2016-11-22 11:50:56 -08:00
Raymond Hettinger
64e2f9ac86
Issue #27100 : Fix ref leak
2016-11-22 11:50:40 -08:00
Steve Dower
bbf32e1c98
Issue #28573 : Missing sys._mercurial info and other build issues.
2016-11-22 11:49:09 -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
0b87b69a6e
Merge 3.6
2016-11-22 15:30:53 +01: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
9ad8a639f3
Merge 3.6
2016-11-22 13:10:02 +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
ff33c93f23
Issue #28023 : Fix python-gdb.py didn't support new dict implementation
2016-11-22 19:43:11 +09: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
1cd91a17a9
merge tag from 3.6
2016-11-22 01:25:55 -05: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
Serhiy Storchaka
007d7ff73f
Issue #28761 : The fields name and doc of structures PyMemberDef, PyGetSetDef,
...
PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of
type "const char *" rather of "char *".
2016-11-22 07:58:08 +02: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
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