Victor Stinner
a61a54b149
Issue #28799 : Update Misc/SpecialBuilds.txt
...
Remove CALL_PROFILE.
2016-11-28 12:06:13 +01:00
Victor Stinner
048afd98b3
Remove CALL_PROFILE special build
...
Issue #28799 :
* Remove the PyEval_GetCallStats() function.
* Deprecate the untested and undocumented sys.callstats() function.
* Remove the CALL_PROFILE special build
Use the sys.setprofile() function, cProfile or profile module to profile
function calls.
2016-11-28 11:59:04 +01:00
Serhiy Storchaka
214678e44b
Issue #12844 : More than 255 arguments can now be passed to a function.
2016-11-28 10:52:05 +02:00
Zachary Ware
d070b2ddbb
Merge with 3.6
2016-11-28 00:19:23 -06:00
Zachary Ware
0425fc0fad
Fix grammar in whatsnew
2016-11-28 00:19:07 -06:00
Łukasz Langa
de7bf086d2
Merge 3.6, fix for #24142
2016-11-26 14:04:40 -08:00
Łukasz Langa
8fb4e421f4
Merge 3.5, fix for #24142
2016-11-26 14:02:48 -08:00
Łukasz Langa
47a9a4beda
Fixes #24142 : [configparser] always join multiline values to not leave the parser in an invalid state
2016-11-26 14:00:39 -08:00
Serhiy Storchaka
d80c3fb17b
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:50:21 +02:00
Serhiy Storchaka
0264e46caa
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:49:59 +02:00
Serhiy Storchaka
c7b1a0bbe2
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:43:28 +02:00
Berker Peksag
a1d59af1ef
Merge from 3.6
2016-11-25 20:10:51 +03:00
Berker Peksag
861b685941
Merge from 3.5
2016-11-25 20:10:30 +03:00
Berker Peksag
4931122de8
Add missing square bracket in typing.get_type_hints()
2016-11-25 20:10:07 +03:00
Berker Peksag
a783493743
Issue #28738 : Merge from 3.6
2016-11-25 19:48:05 +03:00
Berker Peksag
d5c6b47851
Issue #28738 : Merge from 3.6
2016-11-25 19:47:43 +03:00
Berker Peksag
219a012156
Issue #28738 : Document SIGBREAK as an acceptable value on Windows
...
Patch by Wojtek Ruszczewski.
2016-11-25 19:46:57 +03:00
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