Message 258319 - Python tracker (original) (raw)
The docs for tokenize.detect_encoding
state Use open() to open Python source files: it uses detect_encoding() to detect the file encoding.
Unfortunately, clicking on open
redirects to the builtin open
function, not to tokenize.open
as it should.