New submission from Bob Vegene <gakgakgkag...@gmail.com>:
So, I'm making a simple program that will allow me to quickly copy programs to System32 for use on the command line. When I tried testing this in a file called test.py in the same directory as sys32move.py, I got a very strange error. IndentError. I am very experienced with python and I know how to fix this and why it is caused. I fixed what I thought I could, but the I realized something was off. I commented out everything in sys32move.py and it still outputs this error. Now, commenting this out is unnecessary, as this is a false error anyway. This is test.py: try: import sys32pack install_folder(testfolder) except Exception as e: print(e) input() (you get same behavior without the catching of the error.) SYS32PACK.py: ---------- components: Build, Cross-Build files: sys32pack.py messages: 343591 nosy: Alex.Willmer, bob.vegena priority: normal severity: normal status: open title: The strangest glitch I have ever seen - incorrect indenterror, even on commented out code. type: behavior versions: Python 3.9 Added file: https://bugs.python.org/file48363/sys32pack.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37061> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com