• Guido van Rossum's avatar
    Mark Hammond writes: · a74c5566
    Guido van Rossum yazdı
    """
    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.
    a74c5566
tabnanny.py 11.8 KB