Serhiy Storchaka
d4edfc9abf
bpo-29935: Fixed error messages in the index() method of tuple, list and deque ( #887 )
...
when pass indices of wrong type.
2017-03-30 18:29:23 +03:00
Serhiy Storchaka
762bf40438
bpo-29852: Argument Clinic Py_ssize_t converter now supports None ( #716 )
...
if pass `accept={int, NoneType}`.
2017-03-30 09:15:31 +03:00
Victor Stinner
d6debb24e0
bpo-29919: Remove unused imports found by pyflakes ( #137 )
...
Make also minor PEP8 coding style fixes on modified imports.
2017-03-27 16:05:26 +02:00
Benjamin Peterson
df8280838f
bpo-20087: Revert "make the glibc alias table take precedence over the X11 one ( #422 )" ( #713 )
...
This reverts commit 02371e0ed1
.
2017-03-19 23:49:43 -07:00
Serhiy Storchaka
80ec8364f1
bpo-29748: Added the slice index converter in Argument Clinic. ( #549 )
2017-03-19 19:37:40 +02:00
Steve Dower
3286123532
Takes vcruntime140.dll from the correct source. ( #679 )
2017-03-16 10:19:18 -07:00
Nick Coghlan
6a6d090612
bpo-29798: Handle git worktree in `make patchcheck` ( #629 )
...
In git worktree directories, `.git` is a configuration
file rather than a subdirectory
2017-03-12 19:37:09 +10:00
Serhiy Storchaka
202fda55c2
bpo-24037: Add Argument Clinic converter `bool(accept={int})`. ( #485 )
2017-03-12 10:10:47 +02:00
Nick Coghlan
482f7a274f
bpo-29656: Handle PR branches in 'make patchcheck' ( #302 )
2017-03-12 13:19:08 +10:00
Serhiy Storchaka
b5c51d3dd9
bpo-20185: Convert float object implementation to Argument Clinic. ( #543 )
...
Based on patch by Vajrasky Kok.
2017-03-11 09:21:05 +02:00
Benjamin Peterson
02371e0ed1
make the glibc alias table take precedence over the X11 one ( #422 )
...
bpo-20087
2017-03-07 22:03:13 -08:00
Steve Dower
f6e61019ae
Fixes the upload script to purge the CDN correctly and display success output. ( #466 )
2017-03-05 19:55:12 -08:00
Steve Dower
a0c07d2edd
bpo-27593: Updates Windows build to use information from git ( #262 )
...
* bpo-27593: Updates Windows build to use information from git
2017-03-03 21:20:37 -08:00
Lev Abalkin
661ca8843f
Fixes bpo-29680: Older gdb does not have gdb.error. ( #363 )
...
This change is required to make python-dbg.py compatible with GDB versions before 7.3.
2017-03-01 13:16:23 -05:00
Steve Dower
1aceb02417
bpo-29624: Adds purge step and layout test after uploading files. ( #258 )
2017-02-23 14:11:36 -08:00
INADA Naoki
cb41b2766d
bpo-29463: Add docstring field to some AST nodes. ( #46 )
...
* bpo-29463: Add docstring field to some AST nodes.
ClassDef, ModuleDef, FunctionDef, and AsyncFunctionDef has docstring
field for now. It was first statement of there body.
* fix document. thanks travis!
* doc fixes
2017-02-22 16:31:59 +01:00
Steve Dower
52a7e92e3d
bpo-29579: Removes readme.txt from the installer. ( #160 )
2017-02-18 16:12:02 -08:00
Senthil Kumaran
b2ee40ed9c
Change some mercurial/ hg.python.org references. ( #8 )
2017-02-16 07:18:42 -08:00
Steve Dower
d947e4da5d
Includes ensurepip and venv packages in nuget package.
2017-02-06 14:12:57 -08:00
Steve Dower
f007b49eb9
Includes ensurepip and venv packages in nuget package.
2017-02-06 14:12:19 -08:00
Steve Dower
5288477cfd
Includes ensurepip and venv packages in nuget package.
2017-02-06 14:11:34 -08:00
INADA Naoki
5566bbb8d5
Issue #29263 : LOAD_METHOD support for C methods
...
Calling builtin method is at most 10% faster.
2017-02-03 07:43:03 +09:00
Victor Stinner
611083331d
python-gdb.py supports method-wrapper
...
Issue #29367 : python-gdb.py now supports also method-wrapper (wrapperobject)
objects.
2017-02-01 16:29:54 +01:00
Victor Stinner
fa025f112f
Update and enhance python-gdb.py
...
Issue #29259 :
* Detect PyCFunction is the current frame, not only in the older frame
* Ignore PyCFunction_Call() since it now calls _PyCFunction_FastCallDict(), and
_PyCFunction_FastCallDict() is already detected
2017-01-18 17:20:01 +01:00
Victor Stinner
7612f1e36a
Fix Python 2.6 support in python-gdb.py
...
Issue #29259 .
2017-01-18 13:49:43 +01:00
Victor Stinner
093119e4eb
Argument Clinic: Use METH_FASTCALL for boring positionals
...
Issue #29286 . Use METH_FASTCALL calling convention instead of METH_VARARGS to
parse "boring" position arguments. METH_FASTCALL is faster since it avoids the
creation of a temporary tuple to pass positional arguments.
Replace PyArg_UnpackTuple() with _PyArg_UnpackStack()+_PyArg_NoStackKeywords().
2017-01-17 02:35:41 +01:00
Victor Stinner
0c8c3893ae
Argument Clinic: Use METH_FASTCALL for positionals
...
Issue #29286 . Use METH_FASTCALL calling convention instead of METH_VARARGS to
parse position arguments. METH_FASTCALL is faster since it avoids the creation
of a temporary tuple to pass positional arguments.
2017-01-17 01:42:54 +01:00
Victor Stinner
3e1fad6913
Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords
...
Issue #29286 .
2017-01-17 01:29:01 +01:00
Victor Stinner
7fc252adfb
Optimize _PyCFunction_FastCallKeywords()
...
Issue #29259 : Write fast path in _PyCFunction_FastCallKeywords() for
METH_FASTCALL, avoid the creation of a temporary dictionary for keyword
arguments.
Cleanup also _PyCFunction_FastCallDict():
* Don't dereference func before checking that it's not NULL
* Move code to raise the "no keyword argument" exception into a new
no_keyword_error label.
Update python-gdb.py for the change.
2017-01-16 17:18:53 +01:00
Victor Stinner
1d59a0aacf
Merge 3.6
2016-12-16 10:03:10 +01:00
Victor Stinner
cb5fe9c22c
Merge 3.5
2016-12-16 10:00:53 +01:00
Victor Stinner
610f5d739d
python-gdb.py: catch gdb.error on gdb.selected_frame()
2016-12-16 10:00:39 +01:00
Steve Dower
8bfba84ff2
Issue #28783 : Replaces bdist_wininst in nuget packages with stub
2016-12-11 14:48:44 -08:00
Steve Dower
b227227cb5
Issue #28783 : Replaces bdist_wininst in nuget packages with stub
2016-12-11 14:48:32 -08:00
Steve Dower
e711cc0f22
Issue #28783 : Replaces bdist_wininst in nuget packages with stub
2016-12-11 14:35:07 -08:00
Steve Dower
9cc113a8f7
Issue #28846 : Various installer fixes
2016-12-03 12:11:25 -08:00
Steve Dower
1058109b31
Issue #28846 : Various installer fixes
2016-12-03 11:24:02 -08:00
Steve Dower
190dbd9ba2
Issue #28846 : Various installer fixes
2016-12-03 11:18:53 -08:00
Victor Stinner
213cc388c7
Reintroduce Python2 support in generate_opcode_h.py
...
Issue #28821 .
Add also a message to show that the command did something :-)
2016-11-28 18:13:52 +01: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
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
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
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
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