I haven't yet been able to determine exactly when it does or doesn't happen
but sometimes, trailing vertical whitespace at the end of a python script causes the runtime to throw an error of a function not being defined
also, can't determine exactly when it happens, but sometimes commented lines throw errors as well
I can't be sure, yet, but I think both of these problems have to do with the indentation patterns of previous lines