summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | Closes #22663: patchcheck: only modify text files under Doc/Georg Brandl2014-10-191-1/+2
| | |
* | | 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 #21906: Make Tools/scripts/md5sum.py work in Python 3.Berker Peksag2014-07-111-3/+6
| | | | | | | | | | | | Patch by Zachary Ware.
* | | Issue #20535: PYTHONWARNING no longer affects the run_tests.py script.Serhiy Storchaka2014-02-241-0/+6
|\ \ \ | |/ / | | | | | | Patch by Arfrever Frehtes Taifersar Arahesis.
| * | Issue #20535: PYTHONWARNING no longer affects the run_tests.py script.Serhiy Storchaka2014-02-241-0/+6
| | | | | | | | | | | | Patch by Arfrever Frehtes Taifersar Arahesis.
* | | Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-164-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
| * | Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-0/+0
| | | | | | | | | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* | | Fixed the serve.py script.Serhiy Storchaka2014-01-111-1/+1
|\ \ \ | |/ / | | | | | | The application object must return an iterable yielding bytestrings.
| * | Fixed the serve.py script.Serhiy Storchaka2014-01-111-1/+1
| | | | | | | | | | | | The application object must return an iterable yielding bytestrings.
* | | Issue #18960: Fix bugs with Python source code encoding in the second line.Serhiy Storchaka2014-01-091-1/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The first line of Python script could be executed twice when the source encoding (not equal to 'utf-8') was specified on the second line. * Now the source encoding declaration on the second line isn't effective if the first line contains anything except a comment. * As a consequence, 'python -x' works now again with files with the source encoding declarations specified on the second file, and can be used again to make Python batch files on Windows. * The tokenize module now ignore the source encoding declaration on the second line if the first line contains anything except a comment. * IDLE now ignores the source encoding declaration on the second line if the first line contains anything except a comment. * 2to3 and the findnocoding.py script now ignore the source encoding declaration on the second line if the first line contains anything except a comment.
| * | Issue #18960: Fix bugs with Python source code encoding in the second line.Serhiy Storchaka2014-01-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The first line of Python script could be executed twice when the source encoding (not equal to 'utf-8') was specified on the second line. * Now the source encoding declaration on the second line isn't effective if the first line contains anything except a comment. * As a consequence, 'python -x' works now again with files with the source encoding declarations specified on the second file, and can be used again to make Python batch files on Windows. * The tokenize module now ignore the source encoding declaration on the second line if the first line contains anything except a comment. * IDLE now ignores the source encoding declaration on the second line if the first line contains anything except a comment. * 2to3 and the findnocoding.py script now ignore the source encoding declaration on the second line if the first line contains anything except a comment.
* | | Issue #15204: Deprecated the 'U' mode in file-like objects.Serhiy Storchaka2013-11-232-3/+3
| | |
* | | Close #19406: Initial implementation of ensurepipNick Coghlan2013-11-111-0/+32
| | | | | | | | | | | | Patch by Donald Stufft and Nick Coghlan
* | | Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py scriptSerhiy Storchaka2013-09-161-3/+3
|\ \ \ | |/ / | | | | | | now detect Python source code encoding only in comment lines.
| * | Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py scriptSerhiy Storchaka2013-09-161-3/+3
| | | | | | | | | | | | now detect Python source code encoding only in comment lines.
* | | #18803: merge with 3.3.Ezio Melotti2013-08-253-4/+4
|\ \ \ | |/ /
| * | #18803: fix more typos. Patch by FĂ©vry Thibault.Ezio Melotti2013-08-253-4/+4
| | |
* | | #18445: update Tools/scripts/README.Andrew Kuchling2013-08-191-61/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | - document abitype.py, analyze_dxp.py, get-remote-certificate.py, import_diagnostics.py, parse_html5_entities.py. - remove redemo.py which was moved to Tools/Demo. - sort list into alphabetical order Patch by Seydou Dia.
* | | #18445: change permissions on some scripts to executableAndrew Kuchling2013-08-184-0/+0
| | |
* | | Merge with 3.3Terry Jan Reedy2013-07-221-5/+6
|\ \ \ | |/ /
| * | Issue #18439: Make patchcheck work on Windows for ACKS, NEWS.Terry Jan Reedy2013-07-221-5/+6
| | |
* | | Issue #17177: update checkpyc to stop using impBrett Cannon2013-06-151-4/+4
| | |
* | | Fix some bugs in Tools/scripts/abitype.py.Serhiy Storchaka2013-05-171-3/+3
|\ \ \ | |/ /
| * | Fix some bugs in Tools/scripts/abitype.py.Serhiy Storchaka2013-05-171-3/+3
| | |
* | | Issue #17801: fix shebang line of gprof2html.pyNed Deily2013-04-201-1/+1
|\ \ \ | |/ /
| * | Issue #17801: fix shebang line of gprof2html.pyNed Deily2013-04-201-1/+1
| | |
* | | Issue #17516: use comment syntax for comments, instead of multiline stringVictor Stinner2013-03-261-1/+1
| | |
* | | - Issue #17029: Let h2py search the multiarch system include directory.doko@python.org2013-01-251-0/+5
|\ \ \ | |/ /
| * | - Issue #17029: Let h2py search the multiarch system include directory.doko@python.org2013-01-251-0/+5
| |\ \ | | |/
| | * - Issue #17029: Let h2py search the multiarch system include directory.doko@python.org2013-01-251-0/+5
| | |
* | | Issue #15539: Fix a backup file creation in pindent.py on Windows.Serhiy Storchaka2013-01-111-12/+20
|\ \ \ | |/ /
| * | Issue #15539: Fix a backup file creation in pindent.py on Windows.Serhiy Storchaka2013-01-111-12/+20
| |\ \ | | |/
| | * Issue #15539: Fix a backup file creation in pindent.py on Windows.Serhiy Storchaka2013-01-111-12/+20
| | |
* | | Merge patchcheck changes with 3.3Ezio Melotti2013-01-111-1/+2
|\ \ \ | |/ /
| * | Merge patchcheck changes with 3.2Ezio Melotti2013-01-111-1/+2
| |\ \ | | |/
| | * Add a note about checking refleaks to patchcheck.Ezio Melotti2013-01-111-1/+2
| | |
* | | Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.Serhiy Storchaka2013-01-111-104/+60
|\ \ \ | |/ / | | | | | | | | | | | | | | | Now pindent.py works with a "with" statement. pindent.py no longer produces improper indentation. pindent.py now works with continued lines broken after "class" or "def" keywords and with continuations at the start of line. Added regression tests for pindent.py. Modernized pindent.py.
| * | Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.Serhiy Storchaka2013-01-111-104/+60
| |\ \ | | |/ | | | | | | | | | | | | | | | Now pindent.py works with a "with" statement. pindent.py no longer produces improper indentation. pindent.py now works with continued lines broken after "class" or "def" keywords and with continuations at the start of line. Added regression tests for pindent.py. Modernized pindent.py.
| | * Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.Serhiy Storchaka2013-01-111-104/+60
| | | | | | | | | | | | | | | | | | | | | Now pindent.py works with a "with" statement. pindent.py no longer produces improper indentation. pindent.py now works with continued lines broken after "class" or "def" keywords and with continuations at the start of line. Added regression tests for pindent.py. Modernized pindent.py.
* | | Use OESeeror instead of os.error (#16720)Andrew Svetlov2012-12-2414-37/+37
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Issue #16719: Get rid of WindowsError. Use OSError insteadAndrew Svetlov2012-12-191-1/+1
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-182-2/+2
|\ \ \ | |/ / | | | | | | Patch by Serhiy Storchaka.
| * | Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-182-2/+2
| |\ \ | | |/ | | | | | | Patch by Serhiy Storchaka.
| | * Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Issue #5765: Merge from 3.3Nick Coghlan2012-11-041-0/+7
|\ \ \ | |/ /
| * | Issue #5765: Also check the compiler when finding the recursion limitNick Coghlan2012-11-041-0/+7
| | |