You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like phystokens.py has some hacks to go around backslash line changes. This doesn't seem to work when the source file has DOS line changes (\r\n).
I'll try to attach a small patch to fix this. This might not be the optimal one, but works for me.
Also Python 3.x might do something automatic for all open()s, and 2.x has 'U' flag for open (which is not always available).
Originally reported by Anonymous
Hello,
It looks like phystokens.py has some hacks to go around backslash line changes. This doesn't seem to work when the source file has DOS line changes (\r\n).
I'll try to attach a small patch to fix this. This might not be the optimal one, but works for me.
Also Python 3.x might do something automatic for all open()s, and 2.x has 'U' flag for open (which is not always available).
Tested on Python 2.6.4 (Linux).
The text was updated successfully, but these errors were encountered: