summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955)Serhiy Storchaka2017-07-031-10/+7
| | | | | the bare METH_FASTCALL be used for functions with positional-only parameters.
* buildbot: pass --fail-env-changed to regrtest (#2509)Victor Stinner2017-06-301-1/+1
| | | Make tests fail if a test altered the environment.
* Update `make patchcheck` for blurb and NEWS.d (#2381)Antoine Pitrou2017-06-251-5/+5
|
* Check the whitespace of pull requests on Travis (GH-2367)Brett Cannon2017-06-241-2/+32
|
* bpo-30736: upgrade to Unicode 10.0 (#2344)Benjamin Peterson2017-06-231-4/+5
| | | Straightforward. While we're at it, though, strip trailing whitespace from generated tables.
* bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on ↵Steve Dower2017-06-194-22/+25
| | | | | | vcvarsall.bat (#2252) * Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat Also fixes bdist_wininst.vcxproj to use correct version in generated name.
* Revert "bpo-30673: test.bat: add -t option (timeout) (#2211)" (#2245)Victor Stinner2017-06-161-11/+2
| | | This reverts commit 258bfc462b1e58689b43f662a10e44ece3a10bef.
* bpo-30450: Pull Windows dependencies from GitHub rather than svn (GH-1783)Zachary Ware2017-06-161-19/+99
| | | | | The Windows build now depends on Python 3.6 to fetch externals, but it will be downloaded via NuGet (which is downloaded via PowerShell) if it is not available via `py -3.6`. This means the only thing that must be installed on a modern Windows box to do a full build of CPython with all extensions is Visual Studio. Also fixes an outdated note about _lzma in PCbuild/readme.txt
* bpo-30673: test.bat: add -t option (timeout) (#2211)Victor Stinner2017-06-151-2/+11
|
* bpo-27425: Be more explicit in .gitattributes (GH-840)Zachary Ware2017-06-1011-657/+657
| | | Updates checked-in line endings on several files.
* bpo-30600: Fix error messages (condition order in Argument Clinic) (#2051)Sylvain2017-06-101-7/+7
| | | | | | | | The function '_PyArg_ParseStack()' and '_PyArg_UnpackStack' were failing (with error "XXX() takes Y argument (Z given)") before the function '_PyArg_NoStackKeywords()' was called. Thus, the latter did not raise its more meaningful error : "XXX() takes no keyword arguments".
* 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
|\ \ \ | |/ /