Commit Graph

8 Commits

Author SHA1 Message Date
Serhiy Storchaka e0ed2d75c8 Issue #19936: Added executable bits or shebang lines to Python scripts which
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.
2014-01-16 18:59:17 +02:00
Georg Brandl f1ca811abb Fix a demo. 2009-10-25 20:25:43 +00:00
Neal Norwitz 286d74764e SF Bug #1348477, regextest can't be pydoc'ed. Will backport. 2005-11-09 07:07:58 +00:00
Andrew M. Kuchling 9b12d9d0d2 Modernize the code a bit:
use re module
   make chomp() use rstrip()
2003-04-24 17:22:04 +00:00
Andrew M. Kuchling b7878d09e5 Modernize the code a bit:
use re module
   use .split() string method

Doesn't use 'for line in sys.stdin'; that ends up changing its interactive
behaviour.
2003-04-24 17:17:56 +00:00
Andrew M. Kuchling 946c53ed7f Run these demo scripts through reindent.py to give them 4-space indents. I've verified that their output is unchanged. 2003-04-24 17:13:18 +00:00
Guido van Rossum f06ee5fa07 /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Guido van Rossum 21bc15b73d commit -- why not... 1995-04-10 11:40:26 +00:00