STINNER Victor <> added the comment:

> 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 "_".



Python tracker <>
Python-bugs-list mailing list

Reply via email to