[issue37061] The strangest glitch I have ever seen - incorrect indenterror, even on commented out code.

Tim Peters report at bugs.python.org
Sun May 26 22:07:43 EDT 2019


Tim Peters <tim at python.org> added the comment:

Same kind of problem with the new upload, Bob.

Line 38 is:

print(Fore.GREEN,"Installed file ",e,Fore.WHITE)

indented 8 spaces. Lines 39 and 40 are empty.  Then line 41 is:

if x>=len(files):  # if x is more than or equal to the number of files in teh directory

indented 12 spaces.  That's an indentation error, indented more than the statement before it.

Maybe you have some kind of weird binary data (by mistake) in the file that gets lost when you upload it?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37061>
_______________________________________


More information about the Python-bugs-list mailing list