summaryrefslogtreecommitdiff
path: root/Tools/scripts
AgeCommit message (Collapse)AuthorLines
2014-01-16Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka-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.
2014-01-11Fixed the serve.py script.Serhiy Storchaka-1/+1
The application object must return an iterable yielding bytestrings.
2014-01-09Issue #18960: Fix bugs with Python source code encoding in the second line.Serhiy Storchaka-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.
2013-09-16Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py scriptSerhiy Storchaka-3/+3
now detect Python source code encoding only in comment lines.
2013-08-26#18803: fix more typos. Patch by Févry Thibault.Ezio Melotti-4/+4
2013-07-21Issue #18439: Make patchcheck work on Windows for ACKS, NEWS.Terry Jan Reedy-5/+6
2013-05-17Fix some bugs in Tools/scripts/abitype.py.Serhiy Storchaka-3/+3
2013-04-20Issue #17801: fix shebang line of gprof2html.pyNed Deily-1/+1
2013-01-25- Issue #17029: Let h2py search the multiarch system include directory.doko@python.org-0/+5
2013-01-25- Issue #17029: Let h2py search the multiarch system include directory.doko@python.org-0/+5
2013-01-11Issue #15539: Fix a backup file creation in pindent.py on Windows.Serhiy Storchaka-12/+20
2013-01-11Issue #15539: Fix a backup file creation in pindent.py on Windows.Serhiy Storchaka-12/+20
2013-01-11Merge patchcheck changes with 3.2Ezio Melotti-1/+2
2013-01-11Add a note about checking refleaks to patchcheck.Ezio Melotti-1/+2
2013-01-11Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.Serhiy Storchaka-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.
2013-01-11Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.Serhiy Storchaka-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.
2012-12-18Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov-2/+2
Patch by Serhiy Storchaka.
2012-12-18Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov-1/+1
Patch by Serhiy Storchaka.
2012-11-05Issue #5765: Also check the compiler when finding the recursion limitNick Coghlan-0/+7
2012-10-09compare singletons by identity not equality (closes #16712)Benjamin Peterson-5/+5
Patch from Serhiy Storchaka.
2012-08-02Cleanup findnocoding.py and pysource.py scripts (with infile/infile.close)Victor Stinner-5/+4
2012-08-01Fix findnocoding.p and pysource.py scriptsVictor Stinner-14/+14
I suppose that these scripts didn't work since Python 3.0.
2012-07-23Simplify the LaTeX section (only three escapes are needed for alltt)Raymond Hettinger-11/+6
2012-07-14Fix-up latex stylingRaymond Hettinger-12/+15
2012-07-13Fix builtin test and simplify the classified text tuple.Raymond Hettinger-33/+27
2012-07-09Add simple LaTeX markupRaymond Hettinger-13/+85
2012-07-09Add verbose option for diagnosticsRaymond Hettinger-1/+9
2012-07-08Minor algorithmic tweaks, better factoring, improved docstrings and variable ↵Raymond Hettinger-55/+62
names
2012-07-04Fix undefined names in __all__.Mark Dickinson-2/+2
2012-07-03Make ANSI the default output styleRaymond Hettinger-12/+9
2012-07-03Add examples to the module docstringRaymond Hettinger-5/+21
2012-07-03Fix spelling.Raymond Hettinger-1/+1
2012-07-03Add support for ANSI escape sequencesRaymond Hettinger-8/+44
2012-07-03Refactor to isolate HTML encoding step from the parsing step.Raymond Hettinger-16/+21
2012-07-03Fix keyword argumentRaymond Hettinger-1/+1
2012-07-03Minor cleanupsRaymond Hettinger-11/+11
2012-07-02Use new-style string formatting for the HTML templateRaymond Hettinger-4/+4
2012-07-02Clean-up unused variableRaymond Hettinger-1/+0
2012-07-02Do HTML escaping after the tokenization step.Raymond Hettinger-14/+23
2012-07-01Fix filename.Georg Brandl-1/+1
2012-07-01Limit which operators get colorizedRaymond Hettinger-1/+1
2012-06-30Set title to the source filenameRaymond Hettinger-5/+6
2012-06-30Small cleanupsRaymond Hettinger-4/+13
2012-06-30Fix local variableRaymond Hettinger-1/+1
2012-06-30Add author tagRaymond Hettinger-0/+1
2012-06-30Add syntax highlighter toolRaymond Hettinger-0/+109
2012-06-24Remove packaging from the standard library.Éric Araujo-4/+0
Distutils2 will live on on PyPI and be included in the stdlib when it is ready. See discussion starting at http://mail.python.org/pipermail/python-dev/2012-June/120430.html
2012-06-22Issue #7582: Use ISO timestamp in diff.pyAlexander Belopolsky-4/+12
2012-05-26Implemented PEP 405 (Python virtual environments).Vinay Sajip-0/+11
2012-05-18Move private function _args_from_interpreter_flags() to subprocess.py, soAntoine Pitrou-1/+5
that it can be imported when threads are disabled. (followup to issue #12098)