Serhiy Storchaka
172bb39452
bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927)
2019-03-30 08:33:02 +02:00
R David Murray
44b548dda8
#27364 : fix "incorrect" uses of escape character in the stdlib.
...
And most of the tools.
Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
2016-09-08 13:59:53 -04:00
R David Murray
54ac832a24
#14490 , #14491 : add 'sundry'-style import tests for Tools/scripts.
...
This patch changes a few of the scripts to have __name__=='__main__'
clauses so that they are importable without running. Also fixes the
syntax errors revealed by the tests.
2012-04-04 21:28:14 -04:00
Benjamin Peterson
90f5ba538b
convert shebang lines: python -> python3
2010-03-11 22:53:45 +00:00
Georg Brandl
8efadf5d66
Ran 2to3 over scripts directory.
2008-05-16 15:23:30 +00:00
Tim Peters
70c4378dbc
Whitespace normalization.
2001-01-17 08:48:39 +00:00
Jeremy Hylton
0b7b4b8a22
satisfy the tabnanny
2000-09-18 01:46:01 +00:00
Guido van Rossum
a8b37ad9ff
Scrit by Marc-Andre Lemburg to generate htmlentitydefs.py.
1999-08-19 16:00:41 +00:00