Author vstinner
Recipients ezio.melotti, hroncok, lemburg, qigangxu, shihai1991, vstinner
Date 2020-01-14.13:11:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579007473.74.0.433251365058.issue37751@roundup.psfhosted.org>
In-reply-to
Content
> Please note that external codec packages should not rely on the semantics of the Python stdlib encodings package's search function.

latexcodec does register a search function.

> It's good practice to always only use ASCII lower case chars and the underscore for codec names.

latexcodec uses encoding names like "latex+ascii" and their search function used "+" as a separator.

Don't worry, I just fixed latexcodec, my fix is already merged upstream! I simply changed the search function to split on "_" if the name contains "_".

* https://github.com/mcmtroffaes/latexcodec/commit/a30ae2cf061d7369b1aaa8179ddd1b486974fdad
* https://github.com/mcmtroffaes/latexcodec/pull/76
* https://github.com/mcmtroffaes/latexcodec/issues/75
History
Date User Action Args
2020-01-14 13:11:13vstinnersetrecipients: + vstinner, lemburg, ezio.melotti, hroncok, shihai1991, qigangxu
2020-01-14 13:11:13vstinnersetmessageid: <1579007473.74.0.433251365058.issue37751@roundup.psfhosted.org>
2020-01-14 13:11:13vstinnerlinkissue37751 messages
2020-01-14 13:11:13vstinnercreate