summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32155: Bugfixes found by flake8 F841 warnings (#4619)Victor Stinner2017-11-281-1/+1
| | | | | | | | | | * turtledemo: wait until macOS osascript command completes to not create a zombie process * Tools/scripts/treesync.py: declare 'default_answer' and 'create_files' as globals to modify them with the command line arguments. Previously, -y, -n, -f and -a options had no effect. flake8 warning: "F841 local variable 'p' is assigned to but never used".
* [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 `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-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
* [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)
* [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)
* 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)
* Issue #27952: Merge fixcid.py from 3.5Martin Panter2016-09-111-25/+27
|\
| * Issue #27952: Get fixcid.py working with the re moduleMartin Panter2016-09-111-25/+27
| |
* | Remove legacy "from __future__ import with_statement" lines.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-09-081-2/+0
| |
* | #27364: fix "incorrect" uses of escape character in the stdlib.R David Murray2016-09-089-25/+25
| | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.
* | Issue #24225: Fix additional renamed module references.Ned Deily2016-06-041-1/+1
| |
* | Removed unused imports.Serhiy Storchaka2016-04-241-1/+1
| |
* | Issue #26581: Use the first coding cookie on a line, not the last one.Serhiy Storchaka2016-03-201-1/+1
|\ \ | |/
| * Issue #26581: Use the first coding cookie on a line, not the last one.Serhiy Storchaka2016-03-201-1/+1
| |
* | Issue #25985: sys.version_info is now used instead of sys.versionSerhiy Storchaka2016-02-111-2/+2
| | | | | | | | to format short Python version.
* | Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failureMartin Panter2015-11-301-2/+2
| |
* | Merge with 3.5Terry Jan Reedy2015-10-301-2/+0
|\ \ | |/
| * Merge with 3.4Terry Jan Reedy2015-10-301-2/+0
| |\
| | * Issue #25505: Remove unused buggy method.Terry Jan Reedy2015-10-301-2/+0
| | |
* | | Fix a variable typo by switching to a f-string.Brett Cannon2015-10-271-1/+1
| | |
* | | Issue #25154: Make the file argument apply to the print function andBrett Cannon2015-10-261-1/+1
| | | | | | | | | | | | not str.format call.
* | | Issue #25154: Deprecate the pyvenv script.Brett Cannon2015-10-161-0/+6
|/ / | | | | | | | | | | This was done so as to move users to `python3 -m venv` which prevents confusion over which Python interpreter will be used in the virtual environment when more than one is installed.
* | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-031-2/+2
| |
* | Issue #24288: Generated opcode.h no longer contains trailing spaces and tabs.Serhiy Storchaka2015-05-271-2/+2
| |
* | Issue #16261: Converted some bare except statements to except statementsSerhiy Storchaka2015-05-201-1/+1
| | | | | | | | with specified exception type. Original patch by Ramchandra Apte.
* | Issue #23330: h2py now supports arbitrary filenames in #include.Serhiy Storchaka2015-05-031-1/+1
|\ \ | |/
| * Issue #23330: h2py now supports arbitrary filenames in #include.Serhiy Storchaka2015-05-031-1/+1
| |
* | Issue #24031: make patchcheck now supports git checkouts, too.Christian Heimes2015-04-231-9/+25
|\ \ | |/
| * Issue #24031: make patchcheck now supports git checkouts, too.Christian Heimes2015-04-231-9/+25
| |
* | Removed trailing whitespaces in miscalenous files.Serhiy Storchaka2015-04-031-3/+3
| |
* | Closes #23437: Make user scripts directory versioned on Windows (patch by ↵Steve Dower2015-02-141-1/+2
| | | | | | | | pmoore)
* | merge 3.4 (#23130)Benjamin Peterson2014-12-301-405/+0
|\ \ | |/
| * merge 3.3 (#23130)Benjamin Peterson2014-12-301-405/+0
| |\
| | * merge 3.2 (#23130)Benjamin Peterson2014-12-301-405/+0
| | |\
| | | * delete old ftpmirror script, which now has security bugs (closes #23130)Benjamin Peterson2014-12-301-405/+0
| | | |
* | | | Issue #22924: Scripts gprof2html.py and highlight.py now use html.escape()Serhiy Storchaka2014-12-012-10/+19
|\ \ \ \ | |/ / / | | | | | | | | instead of deperecated cgi.escape(). Original patch by Raymond Hettinger.
| * | | Issue #22924: Scripts gprof2html.py and highlight.py now use html.escape()Serhiy Storchaka2014-12-012-10/+19
| | | | | | | | | | | | | | | | instead of deperecated cgi.escape(). Original patch by Raymond Hettinger.
* | | | merge with 3.4Georg Brandl2014-10-191-1/+2
|\ \ \ \ | |/ / /
| * | | Closes #22663: patchcheck: only modify text files under Doc/Georg Brandl2014-10-191-1/+2
| | | |
* | | | Merge removal of Tools/scripts/pydocgui.pywZachary Ware2014-07-161-7/+0
|\ \ \ \ | |/ / /
| * | | Remove Tools/scripts/pydocgui.pyw.Zachary Ware2014-07-161-7/+0
| | | | | | | | | | | | | | | | | | | | pydoc.gui was removed over 3 years ago (#10818), this script has been utterly bereft of worth since then.
* | | | Issue #18974: Tools/scripts/diff.py now uses argparse instead of optparse.Serhiy Storchaka2014-07-151-16/+18
| | | |
* | | | Issue #21906: Merge from 3.4.Berker Peksag2014-07-111-3/+6
|\ \ \ \ | |/ / /
| * | | Issue #21906: Make Tools/scripts/md5sum.py work in Python 3.Berker Peksag2014-07-111-3/+6
| | | | | | | | | | | | | | | | Patch by Zachary Ware.
* | | | Issue #21907: Exit with the correct return codeZachary Ware2014-07-071-1/+1
| | | |
* | | | Issue #21907: Improved the batch scripts provided for building Python.Zachary Ware2014-07-071-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | The user-facing scripts in PCbuild have been updated to be easier to use and the buildbot scripts in Tools\buildbot have been updated to use the user-facing scripts in PCbuild wherever possible.
* | | | Remove a workaround for fixed issue #20355.Antoine Pitrou2014-04-281-2/+0
| | | |