summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "bpo-30860: Consolidate stateful runtime globals." (#3379)Eric Snow2017-09-063-981/+0
| | | Windows buildbots started failing due to include-related errors.
* bpo-30860: Consolidate stateful runtime globals. (#2594)Eric Snow2017-09-063-0/+981
| | | | | | | | | * group the (stateful) runtime globals into various topical structs * consolidate the topical structs under a single top-level _PyRuntimeState struct * add a check-c-globals.py script that helps identify runtime globals Other globals are excluded (see globals.txt and check-c-globals.py).
* remove IRIX support (closes bpo-31341) (#3310)Benjamin Peterson2017-09-041-4/+4
| | | See PEP 11.
* bpo-30983: [gdb] Fix py-bt, etc. for non-debug shared builds (#3153)Łukasz Langa2017-08-211-9/+11
| | | | | | | | | | | | PEP 523 introduced _PyEval_EvalFrameDefault which inlines PyEval_EvalFrameEx on non-debug shared builds. This breaks the ability to use py-bt, py-up, and a few other Python-specific gdb integrations. This patch fixes the problem by only looking for _PyEval_EvalFrameDefault frames. test_gdb passes on both a debug and a non-debug build. Original patch by Bruno "Polaco" Penteado.
* Adds nuget symbols package for daily builds. (#3122)Steve Dower2017-08-172-3/+28
|
* bpo-31221: patchcheck ignores external libraries (#3109)Victor Stinner2017-08-171-2/+20
| | | | | | | | | | | | | | | | Tools/scripts/patchcheck.py now ignores changes in directories which are copies of external libraries: * Modules/_ctypes/libffi_msvc/ * Modules/_ctypes/libffi_osx/ * Modules/_decimal/libmpdec/ * Modules/expat/ * Modules/zlib/ Drop also support for Mercurial, since CPython migrated to Git. Exclude also libmpdec patchcheck: exclude also libffi_osx and libffi_msvc
* bpo-30983: Revert changes which broke most buildbots (#3100)Victor Stinner2017-08-161-4/+2
| | | | | | | | | | * Revert "Add Bruno Penteado to ACKS (#3091)" This reverts commit f978405b3f092e4005b92ba1dbaab15f609b3bb0. * Revert "bpo-30983: eval frame rename in pep 0523 broke gdb's python extension (#2803)" This reverts commit 2e0f4db114424a00354eab889ba8f7334a2ab8f0.
* bpo-30983: eval frame rename in pep 0523 broke gdb's python extension (#2803)Bruno "Polaco" Penteado2017-08-141-2/+4
| | | | | | | pep 0523 renames PyEval_EvalFrameEx to _PyEval_EvalFrameDefault while the gdb python extension only looks for PyEval_EvalFrameEx to understand if it is dealing with a frame. Final effect is that attaching gdb to a python3.6 process doesnt resolve python objects. Eg. py-list and py-bt dont work properly. This patch fixes that. Tested locally on python3.6
* Fix build batch files (#2750)Steve Dower2017-07-266-21/+49
| | | | | | | | | | * Enable building MSI, zip and nuget packages when Py_OutDir is set. * Restore the --build option, which got reverted at some point. * Ensure output directory is created. * Enables BuildForDaily and DailyBuildVersion options for nuget package.
* [bpo-30916] Pre-build OpenSSL and Tcl/Tk for Windows (#2688)Steve Dower2017-07-177-36/+28
| | | Updates ssl and tkinter projects to use pre-built externals
* 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.