summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/cleanfuture.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-97669: Remove outdated example scripts (#97675)Victor Stinner2022-10-041-275/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove outdated example scripts of the Tools/scripts/ directory. A copy can be found in the old-demos project: https://github.com/gvanrossum/old-demos Removed scripts (39): * byext.py * byteyears.py * cleanfuture.py * copytime.py * crlf.py * db2pickle.py * dutree.doc * dutree.py * find-uname.py * find_recursionlimit.py * finddiv.py * findlinksto.py * findnocoding.py * fixcid.py * fixdiv.py * fixheader.py * fixnotice.py * fixps.py * get-remote-certificate.py * google.py * highlight.py * ifdef.py * import_diagnostics.py * lfcr.py * linktree.py * lll.py * mailerdaemon.py * make_ctype.py * mkreal.py * objgraph.py * pdeps.py * pickle2db.py * pindent.py * pysource.py * reindent-rst.py * rgrep.py * suff.py * texi2html.py * which.py Changes: * Remove test_fixcid, test_lll, test_pdeps and test_pindent of test.test_tools. * Remove get-remote-certificate.py changelog entry, since the script was removed. Note: there is a copy of crlf.py in Lib/test/test_lib2to3/data/.
* bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927)Serhiy Storchaka2019-03-301-8/+7
|
* Fix missing or wrong shebangs and missing executable bits for scripts (#10318)Éric Araujo2011-07-261-0/+0
|
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* Convert print statements to function calls in Tools/.Collin Winter2007-08-031-12/+12
|
* PEP 3114: rename .next() to .__next__() and add next() builtin.Georg Brandl2007-04-211-1/+1
|
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-2/+2
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* Fix typo in module docstring.Tim Peters2001-08-151-1/+1
|
* + A msg on c.l.py reminded me that docstrings can be implicitly catenated.Tim Peters2001-08-131-28/+48
| | | | | | | Cater to that. + Major speed boost via not reading more of files than necessary. This was no slouch before; now it screams. + Improve msg when giving up on a goofy future statement.
* Tool to delete (or just rewrite parts of) obsolete future statements.Tim Peters2001-08-121-0/+256