So it appears that Python is broken in a project I'm working on. I enabled scripting, and upon startup, I receive the following error message:
[code:2q97tc4w]File "<string>", line 2037
SyntaxError: invalid syntax[/code:2q97tc4w]
To clarify: I don't have anywhere near 2037 lines of Python in my project. Neither I have anything that would even remotely resemble class 360. I believe this is from Construct's internal Python code or something along the lines of that.
Anyway, after that, whenever I try to refer to any Construct objects in Python code, it gives an error like this:
[code:2q97tc4w]Traceback (most recent call last):
File "<string>", line 30, in <module>
NameError: name 'System' is not defined[/code:2q97tc4w]
Of course, the line number and name varies. No reference at any place works. Meanwhile, in other caps, everything works just fine and dandy. Everything Python that doesn't refer to Construct objects works just fine.
This is a serious showstopper for the project, since I really need Python and being unable to refer to anything means that I'm not able to do much with it. Any ideas how to fix this?