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
INADA Naoki
d7d2bc8798
Issue #28023 : Fix python-gdb.py didn't support new dict implementation
2016-11-22 19:40:58 +09:00
Steve Dower
c851817aaa
Fixes incorrect path in nuget package build.
2016-11-16 16:32:22 -08:00
Steve Dower
9ee351fc1e
Issue #28573 : Fixes issue with nested if blocks
2016-11-14 17:51:51 -08:00
Steve Dower
de40e1218c
Issue #28573 : Fixes issue with nested if blocks
2016-11-14 17:51:42 -08:00
Steve Dower
7ed2398448
Fixes incorrect merge
2016-11-14 16:16:44 -08:00
Steve Dower
e044dfa22b
Issue #28573 : Avoid setting up env too many times during build
2016-11-14 16:15:39 -08:00
Steve Dower
4468bed2fc
Issue #28573 : Avoid setting up env too many times during build
2016-11-14 16:13:56 -08:00
Steve Dower
4782ab3aa3
Adds missing _asyncio.pyd to installer and generally tidies pyd management.
2016-10-29 09:23:39 -07:00
Steve Dower
27c22f900c
Adds missing _asyncio.pyd to installer and generally tidies pyd management.
2016-10-29 09:23:52 -07:00
Steve Dower
fcb5c64a9a
Removes incorrect condition from lib_pdb.msi
2016-10-28 11:19:50 -07:00
Steve Dower
d14ae161de
Removes incorrect condition from lib_pdb.msi
2016-10-28 11:19:42 -07:00
Steve Dower
43ab355e0e
Removes incorrect condition from lib_pdb.msi
2016-10-28 11:19:18 -07:00
Steve Dower
26d4d76313
Merge from 3.6
2016-10-27 12:15:23 -07:00
Steve Dower
31c80e8eae
Revert incorrect file merge from 3.5.
2016-10-27 12:14:48 -07:00
Steve Dower
43d2b264b9
Merge from 3.5
2016-10-27 12:12:24 -07:00
Steve Dower
fcf622e30e
Updates release build to collect symbols and binaries, and create nuget package.
2016-10-27 12:08:45 -07:00
Steve Dower
66fe8febb1
Fix launcher.msi from rebuilding during release build.
2016-10-10 16:19:20 -07:00
Steve Dower
ec1f28a63c
Fix launcher.msi from rebuilding during release build.
2016-10-10 16:19:06 -07:00
Steve Dower
15d3d8bd14
Issue #28402 : Adds signed catalog files for stdlib on Windows.
2016-10-09 20:19:21 -07:00
Steve Dower
425ec150ea
Issue #28402 : Adds signed catalog files for stdlib on Windows.
2016-10-09 20:18:52 -07:00
Steve Dower
4a8ff9ef60
Issue #28217 : Adds _testconsole module to test console input.
2016-10-03 09:12:42 -07:00
Steve Dower
312cef7452
Issue #28217 : Adds _testconsole module to test console input. Fixes some issues found by the tests.
2016-10-03 09:04:58 -07:00
Steve Dower
3e7d93dc70
Issue #28251 : Improvements to help manuals on Windows.
2016-09-22 17:11:53 -07:00