summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] bpo-31662: Fix typos in uploadrelease.bat script (#3858)Miss Islington (bot)2017-10-021-3/+3
| | | (cherry picked from commit efb560eee28b6b2418e1231573ca62574d6dc07b)
* [3.6] bpo-31536: Avoid wholesale rebuild after `make regen-all` (GH-3678) ↵Miss Islington (bot)2017-09-281-0/+28
| | | | | | (#3797) bpo-31536: Avoid wholesale rebuild after `make regen-all`
* [3.6] Update multissl test helper (GH-3349) (#3415)Christian Heimes2017-09-072-241/+430
| | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit d3b9f97)
* Add props file for nuget packages (#3410) (#3413)Steve Dower2017-09-075-6/+80
|
* [3.6] Update `make patchcheck` for blurb and NEWS.d (GH-3406)Miss Islington (bot)2017-09-071-5/+5
| | | (cherry picked from commit 1ba9469e9fdff0c52ba19b1e13a9c4b7235fc9eb)
* [3.6] bpo-31340: Change to building with MSVC v141 (included with Visual ↵Steve Dower2017-09-062-2/+24
| | | | Studio 2017) (GH-3311) (#3386)
* [3.6] bpo-30983: [gdb] Fix py-bt, etc. for non-debug shared builds (GH-3153) ↵Łukasz Langa2017-08-221-9/+11
| | | | | | | | | | | | | | | (#3192) 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. (cherry picked from commit 5fe59f8e3a0a56a155c18f9d581205ec533764b6)
* [3.6] bpo-31221: patchcheck ignores external libraries (#3109) (#3116)Victor Stinner2017-08-171-2/+21
| | | | | | | | | | | | | | | | | | | | | | * bpo-31221: patchcheck ignores external libraries (#3109) 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 (cherry picked from commit 4a347ce426fe7381885703d9074d7a6b3aeb2f2b) * Exclude also Modules/_ctypes/libffi on Python 3.6
* Revert "[3.6] bpo-30983: eval frame rename in pep 0523 broke gdb's python ↵Victor Stinner2017-08-161-4/+2
| | | | | extension (GH-2803) (#3090)" (#3101) This reverts commit 09b77165e3fffa7b7ff160ad06042cdcfa004bf5.
* [3.6] bpo-30983: eval frame rename in pep 0523 broke gdb's python extension ↵Łukasz Langa2017-08-141-2/+4
| | | | | | | | | | (GH-2803) (#3090) 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 (cherry picked from commit 2e0f4db114)
* Fix build batch files (#2750) (#2897)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.
* [3.6] bpo-30450: Improved logic for obtaining dependencies (#2751)Steve Dower2017-07-192-23/+4
| | | | | | | | | Adds alternate download approach for nuget.exe Fall back to git.exe if no Python is found. (#2739) Also check whether git.exe is on PATH if it will be used. Add support for HOST_PYTHON variable. Clear internal environment variables used in find_python.bat Use HOST_PYTHON as the actual Python if it is recent enough. Adds HOST_PYTHON variable to AppVeyor configuration
* [3.6] Check the whitespace of pull requests on Travis (GH-2367) (GH-2386)Brett Cannon2017-06-251-2/+32
| | | (cherry picked from commit 70cb1875bb5343e31d7268f4b2d231a5fecdf989)
* bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on ↵Steve Dower2017-06-194-22/+25
| | | | | | vcvarsall.bat (#2252) (#2280) * 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) (#2225)" (#2246)Victor Stinner2017-06-161-11/+2
| | | This reverts commit e064d4dfeda09fd206653697b70b434e98cc1b57.
* bpo-30450: Pull Windows dependencies from GitHub rather than svn (GH-1783) ↵Zachary Ware2017-06-161-19/+99
| | | | | | | | | (GH-2237) 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 (cherry-picked from commit 51599e2bdd10ab77212a7cbb41a13ea70ee13da8)
* bpo-30673: test.bat: add -t option (timeout) (#2211) (#2225)Victor Stinner2017-06-151-2/+11
| | | (cherry picked from commit 258bfc462b1e58689b43f662a10e44ece3a10bef)
* [3.6] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2083)Zachary Ware2017-06-1011-657/+657
| | | Also updates checked-in line endings on some files
* [3.6] bpo-30345: Update test_gdb.py and python-gdb.py from master (#1549)Victor Stinner2017-05-121-12/+52
| | | | | | | | | | | | | | * python-gdb.py supports method-wrapper bpo-29367: python-gdb.py now supports also method-wrapper (wrapperobject) objects. (cherry picked from commit 611083331d534481ca7956a376e38fb0e9ef3854) * Update and enhance python-gdb.py bpo-29259: Detect PyCFunction is the current frame, not only in the older frame.
* [3.6] bpo-23404: make touch becomes make regen-all (#1405) (#1461)Victor Stinner2017-05-041-129/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-23404: make touch becomes make regen-all (#1405) 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. (cherry picked from commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b) * bpo-30273: Update sysconfig (#1464) The AST_H_DIR variable was removed from Makefile.pre.in by the commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b (bpo-23404). AST_H_DIR was hardcoded to "Include", so replace the removed variable by its content. Remove also ASDLGEN variable from sysconfig example since this variable was also removed. (cherry picked from commit b109a1d3360fc4bb87b9887264e3634632d392ca)
* [3.6] bpo-30109: Fix reindent.py (GH-1207) (GH-1208)Mariatta2017-04-201-1/+5
| | | | Skip the file if it has bad encoding. (cherry picked from commit 58f3c9dc8f5626abe09ac9738c34f6ba99ce2972)
* bpo-29798: Handle git worktree in patchcheck (#1058) (#1060)Nick Coghlan2017-04-091-1/+1
| | | | | The original attempted fix missed an `isdir()` call in `get_base_branch()`. (cherry picked from commit 2abfdf5a81383d3b1ed6b7321903a9a168c373c5)
* Takes vcruntime140.dll from the correct source. (#684)Steve Dower2017-03-162-11/+6
|
* bpo-29798: Handle git worktree in `make patchcheck` (#629) (#633)Nick Coghlan2017-03-121-1/+4
| | | | | In git worktree directories, `.git` is a configuration file rather than a subdirectory (cherry picked from commit 6a6d090612dd7deaac2bc0399fad743e5e2db606)
* bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#626)Nick Coghlan2017-03-121-6/+52
| | | (cherry picked from commit 482f7a274fa52b7ba34ff308cd9acdcac9f41ba5)
* Fixes bpo-29680: Older gdb does not have gdb.error. (GH-363) (GH-534)Mariatta2017-03-071-1/+1
| | | | This change is required to make python-dbg.py compatible with GDB versions before 7.3. (cherry picked from commit 661ca8843fed1183e38db06e52d59ac300bf1c2a)
* Fixes the upload script to purge the CDN correctly and display success ↵Steve Dower2017-03-061-0/+2
| | | | output. (#466) (#497)
* bpo-27593: Updates Windows build to use information from git (#262) (#450)Steve Dower2017-03-041-2/+2
| | | * bpo-27593: Updates Windows build to use information from git
* bpo-29624: Adds purge step and layout test after uploading files. (#258) (#264)Steve Dower2017-02-232-10/+53
|
* Change some mercurial/ hg.python.org references. (#8) (#185)Senthil Kumaran2017-02-202-2/+2
| | | (cherry picked from commit b2ee40ed9c9041dcff9c898aa19aacf9ec60308a)
* bpo-29579: Removes readme.txt from the installer. (#161)Steve Dower2017-02-191-3/+0
|
* 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
| |
* | 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 #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-9/+11
| |
* | 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.
| * Fixes incorrect path in nuget package build.Steve Dower2016-11-171-1/+2
| |
* | Issue #28573: Missing sys._mercurial info and other build issues.Steve Dower2016-11-221-3/+16
| |
* | Issue #28023: Fix python-gdb.py on old GDB versionsVictor Stinner2016-11-221-2/+6
| | | | | | | | | | | | Replace int(value.address)+offset with value.cast(unsigned char*)+offset. It seems like int(value.address) fails on old versions of GDB.
* | Issue #28023: Fix python-gdb.py didn't support new dict implementationINADA Naoki2016-11-221-2/+26
| |
* | Issue #28573: Fixes issue with nested if blocksSteve Dower2016-11-151-6/+6
| |
* | Issue #28573: Avoid setting up env too many times during buildSteve Dower2016-11-151-36/+9
| |
* | Adds missing _asyncio.pyd to installer and generally tidies pyd management.Steve Dower2016-10-293-69/+23
| |
* | Removes incorrect condition from lib_pdb.msiSteve Dower2016-10-281-1/+0
|\ \ | |/