summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Issue #17861: Allow generate_opcode_h to run with a system Python 2.5.Ned Deily2014-04-281-0/+2
| | | | | | | | Patch by David Bolen.
* | Fix Tools/scripts/generate_opcode_h.py from issue #17861 to work correctlyThomas Wouters2014-04-161-10/+9
| | | | | | | | | | when building in a separate object tree. More people should build this way. This may still fail if the source is unwritable, I haven't tested that yet.
* | Closes Issue 17861: Autogenerate Include/opcode.h from opcode.py.Kushal Das2014-04-151-0/+53
|/ | | | | It includes required changes in Makefile.pre.in and configure.ac among other files.
* 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.