This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Peter Ludemann
Recipients Peter Ludemann, ezio.melotti, vstinner
Date 2019-12-30.07:51:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577692290.81.0.37124085413.issue39154@roundup.psfhosted.org>
In-reply-to
Content
To clarify and fix a typo ... lib2to3.pgen2.tokenize.detect_encoding checks for 'utf-8'(and 'utf_8') but not 'utf8' in various places. Similarly for 'latin-1' and 'latin1'. (The codecs documentation page allows 'utf8' and 'latin1' as codecs.)

['UTF-8' is taken care of in _get_normal_name] 

See also https://bugs.python.org/issue39155
History
Date User Action Args
2019-12-30 07:51:30Peter Ludemannsetrecipients: + Peter Ludemann, vstinner, ezio.melotti
2019-12-30 07:51:30Peter Ludemannsetmessageid: <1577692290.81.0.37124085413.issue39154@roundup.psfhosted.org>
2019-12-30 07:51:30Peter Ludemannlinkissue39154 messages
2019-12-30 07:51:30Peter Ludemanncreate