Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

It would be nice to have an utility function in unicodedata to convert Unicode 
characters to their ASCII equivalents (if they exist). It would allow to 
explicitly convert all slashes to / (and all digits to 0-9) before passing 
string to Fraction constructor.

AFAIK there is a special Unicode document and tables for this.

----------
components: +Unicode
nosy: +serhiy.storchaka, vstinner

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43520>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to