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 should be noted the original patch by Christian had a check for bad
tokenizing. Turns out that if you have that in several tests fail,
including test_modulefinder. This might mean there is a deeper problem
in the parser.
Activity
brettcannon commentedon Aug 18, 2008
Attached is a patch to add imp.get_codingspec(); a function that returns
the encoding of a source file.
The motivation is to remove the import of the re module in linecache to
speed up interpreter startup.
brettcannon commentedon Aug 18, 2008
It should be noted the original patch by Christian had a check for bad
tokenizing. Turns out that if you have that in several tests fail,
including test_modulefinder. This might mean there is a deeper problem
in the parser.
benjaminp commentedon Aug 9, 2010
We don't need this. We have tokenize.detect_encoding().