summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30492: Allow make clinic to work out of tree. (#1836)Gregory P. Smith2017-05-271-2/+10
| | | | | | * bpo-30492: Allow make clinic to work out of tree. * Use os.curdir instead of "." as the default value.
* bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489)Jon Dufresne2017-05-183-4/+4
| | | | | | | | * Replaced list(<generator expression>) with list comprehension * Replaced dict(<generator expression>) with dict comprehension * Replaced set(<list literal>) with set literal * Replaced builtin func(<list comprehension>) with func(<generator expression>) when supported (e.g. any(), all(), tuple(), min(), & max())
* bpo-23404: make touch becomes make regen-all (#1405)Victor Stinner2017-05-031-129/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Don't rebuild generated files based on file modification time anymore, the action is now explicit. Replace "make touch" with "make regen-all". Changes: * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch * Add a new "make regen-all" command to rebuild all generated files * Add subcommands to only generate specific files: - regen-ast: Include/Python-ast.h and Python/Python-ast.c - regen-grammar: Include/graminit.h and Python/graminit.c - regen-importlib: Python/importlib_external.h and Python/importlib.h - regen-opcode: Include/opcode.h - regen-opcode-targets: Python/opcode_targets.h - regen-typeslots: Objects/typeslots.inc * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN * pgen is now only built by by "make regen-grammar" * Add $(srcdir)/ prefix to paths to source files to handle correctly compilation outside the source directory Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make" default target building Python.
* bpo-30109: Fix reindent.py (GH-1207)Mariatta2017-04-201-1/+5
| | | Skip the file if it has bad encoding.
* Issue #29798: Handle git worktree in patchcheck (#1058)Nick Coghlan2017-04-091-1/+1
| | | | The original attempted fix missed an `isdir()` call in `get_base_branch()`.
* bpo-29762: More use "raise from None". (#569)Serhiy Storchaka2017-04-052-4/+4
| | | This hides unwanted implementation details from tracebacks.
* bpo-29935: Fixed error messages in the index() method of tuple, list and ↵Serhiy Storchaka2017-03-301-2/+2
| | | | | deque (#887) when pass indices of wrong type.
* bpo-29852: Argument Clinic Py_ssize_t converter now supports None (#716)Serhiy Storchaka2017-03-301-2/+10
| | | if pass `accept={int, NoneType}`.
* bpo-29919: Remove unused imports found by pyflakes (#137)Victor Stinner2017-03-273-4/+2
| | | Make also minor PEP8 coding style fixes on modified imports.
* bpo-20087: Revert "make the glibc alias table take precedence over the X11 ↵Benjamin Peterson2017-03-201-1/+1
| | | | | one (#422)" (#713) This reverts commit 02371e0ed1ee82ec73e7d363bcf2ed40cde1397a.
* bpo-29748: Added the slice index converter in Argument Clinic. (#549)Serhiy Storchaka2017-03-191-0/+12
|
* Takes vcruntime140.dll from the correct source. (#679)Steve Dower2017-03-162-11/+6
|
* bpo-29798: Handle git worktree in `make patchcheck` (#629)Nick Coghlan2017-03-121-1/+4
| | | | In git worktree directories, `.git` is a configuration file rather than a subdirectory
* bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485)Serhiy Storchaka2017-03-121-1/+5
|
* bpo-29656: Handle PR branches in 'make patchcheck' (#302)Nick Coghlan2017-03-121-6/+52
|
* bpo-20185: Convert float object implementation to Argument Clinic. (#543)Serhiy Storchaka2017-03-111-1/+0
| | | Based on patch by Vajrasky Kok.
* make the glibc alias table take precedence over the X11 one (#422)Benjamin Peterson2017-03-081-1/+1
| | | bpo-20087
* Fixes the upload script to purge the CDN correctly and display success ↵Steve Dower2017-03-061-0/+2
| | | | output. (#466)
* bpo-27593: Updates Windows build to use information from git (#262)Steve Dower2017-03-041-2/+2
| | | | * bpo-27593: Updates Windows build to use information from git
* Fixes bpo-29680: Older gdb does not have gdb.error. (#363)Lev Abalkin2017-03-011-1/+1
| | | This change is required to make python-dbg.py compatible with GDB versions before 7.3.
* bpo-29624: Adds purge step and layout test after uploading files. (#258)Steve Dower2017-02-232-10/+53
|
* bpo-29463: Add docstring field to some AST nodes. (#46)INADA Naoki2017-02-221-0/+6
| | | | | | | | | | | * 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
* bpo-29579: Removes readme.txt from the installer. (#160)Steve Dower2017-02-191-3/+0
|
* Change some mercurial/ hg.python.org references. (#8)Senthil Kumaran2017-02-162-2/+2
|
* Includes ensurepip and venv packages in nuget package.Steve Dower2017-02-061-2/+11
|\
| * Includes ensurepip and venv packages in nuget package.Steve Dower2017-02-061-2/+11
| |\
| | * Includes ensurepip and venv packages in nuget package.Steve Dower2017-02-061-2/+11
| | |
* | | Issue #29263: LOAD_METHOD support for C methodsINADA Naoki2017-02-021-4/+1
| | | | | | | | | | | | Calling builtin method is at most 10% faster.
* | | python-gdb.py supports method-wrapperVictor Stinner2017-02-011-5/+48
| | | | | | | | | | | | | | | Issue #29367: python-gdb.py now supports also method-wrapper (wrapperobject) objects.
* | | Update and enhance python-gdb.pyVictor Stinner2017-01-181-16/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Fix Python 2.6 support in python-gdb.pyVictor Stinner2017-01-181-2/+2
| | | | | | | | | | | | Issue #29259.
* | | Argument Clinic: Use METH_FASTCALL for boring positionalsVictor Stinner2017-01-171-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | 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().
* | | Argument Clinic: Use METH_FASTCALL for positionalsVictor Stinner2017-01-171-14/+32
| | | | | | | | | | | | | | | | | | 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.
* | | Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywordsVictor Stinner2017-01-171-1/+1
| | | | | | | | | | | | Issue #29286.
* | | Optimize _PyCFunction_FastCallKeywords()Victor Stinner2017-01-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge 3.6Victor Stinner2016-12-161-2/+18
|\ \ \ | |/ /
| * | Merge 3.5Victor Stinner2016-12-161-2/+18
| |\ \ | | |/
| | * python-gdb.py: catch gdb.error on gdb.selected_frame()Victor Stinner2016-12-161-2/+18
| | |
* | | Issue #28783: Replaces bdist_wininst in nuget packages with stubSteve Dower2016-12-113-38/+22
|\ \ \ | |/ /
| * | Issue #28783: Replaces bdist_wininst in nuget packages with stubSteve Dower2016-12-113-38/+22
| |\ \ | | |/
| | * Issue #28783: Replaces bdist_wininst in nuget packages with stubSteve Dower2016-12-113-38/+22
| | |
| * | Issue #28770: Update python-gdb.py for fastcallsVictor Stinner2016-11-221-16/+31
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Issue #28846: Various installer fixesSteve Dower2016-12-034-8/+9
|\ \ \ | |/ /
| * | Issue #28846: Various installer fixesSteve Dower2016-12-034-8/+9
| |\ \ | | |/
| | * Issue #28846: Various installer fixesSteve Dower2016-12-034-9/+11
| | |
* | | Reintroduce Python2 support in generate_opcode_h.pyVictor Stinner2016-11-281-3/+9
| | | | | | | | | | | | | | | | | | Issue #28821. Add also a message to show that the command did something :-)
* | | Fix a ResourceWarning in generate_opcode_h.pyVictor Stinner2016-11-251-1/+5
| | | | | | | | | | | | | | | 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.
* | | Issue #28783: Embedded and nuget packages incorrect reference missing ↵Steve Dower2016-11-232-3/+48
|\ \ \ | |/ / | | | | | | bdist_wininst command.
| * | Issue #28783: Embedded and nuget packages incorrect reference missing ↵Steve Dower2016-11-232-3/+48
| |\ \ | | |/ | | | | | | bdist_wininst command.
| | * Issue #28783: Embedded and nuget packages incorrect reference missing ↵Steve Dower2016-11-232-3/+47
| | | | | | | | | | | | bdist_wininst command.