summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/ifdef.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-97669: Remove outdated example scripts (#97675)Victor Stinner2022-10-041-111/+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-3/+2
|
* #18803: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-251-2/+2
|
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-1/+0
| | | | | | | | | | | | | | | | | | | | number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway.
* [Patch #1005491 ] use __name__ == '__main__' in scriptsAndrew M. Kuchling2004-08-091-1/+2
|
* Fix use of 'file' as a variable name.Andrew M. Kuchling2003-05-131-3/+3
| | | | (I've tested the fixes, but please proofread anyway.)
* Apply diff2.txt from SF patch http://www.python.org/sf/572113Walter Dörwald2002-09-111-4/+3
| | | | | | | | (with one small bugfix in bgen/bgen/scantools.py) This replaces string module functions with string methods for the stuff in the Tools directory. Several uses of string.letters etc. are still remaining.
* Whitespace normalization.Tim Peters2001-01-171-73/+73
|
* Fix multi-arg list.append() calls.Guido van Rossum1998-10-081-4/+4
|
* /usr/local/bin/python -> /usr/bin/env pythonGuido van Rossum1996-11-271-1/+1
|
* Initial revisionGuido van Rossum1994-05-091-0/+113