STINNER Victor added the comment:

> The purpose was to make the dependence of unicodedata optional.

In which case the unicodedata module is missing? It's always part of CPython no?

> (...) but now I think that probably your approach is more preferable because 
> it makes the code simpler and errors more explicit.

Yeah, it's not a good practice to *hide* errors. At least, your patch must log 
the error.

----------

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

Reply via email to