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
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