Terry J. Reedy <[email protected]> added the comment:
#41300 reports that the new iomenu line 291 enc, _ = tokenize.detect_encoding(io.BytesIO(encoded).readline) fails without 'import io' added. I should have tested more thoroughly. I will fix and add tests there. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue41158> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
