]> granicus.if.org Git - python/commit
Mark Hammond writes:
authorGuido van Rossum <guido@python.org>
Fri, 30 Jul 1999 17:48:20 +0000 (17:48 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 30 Jul 1999 17:48:20 +0000 (17:48 +0000)
commita74c55662f2719dda984cdaa42dbb15772c0420f
tree2054a805d2d33413012ff42906a7bf18168dd690
parent42b334d93d0454f12eb249805049b75d2bd6dc07
Mark Hammond writes:

"""
If the filename being complained about contains a space, enclose the
file-name in quotes.

The reason is simply that when I try and parse tabnanny's output, filenames
with spaces make it very difficult to determine where the filename stops
and the linenumber begins!
"""

Tim approves.

I slightly changed the patch (use 'in' instead of string.find()) and
arbitrarily bumped the __version__ variable up to 6.
Lib/tabnanny.py
Tools/idle/tabnanny.py
Tools/scripts/tabnanny.py