Serhiy Storchaka added the comment:

The purpose was to make the dependence of unicodedata optional. Here is a patch 
that adds missing lines to clear import error.

But your approach looks reasonable too and the patch is correct. I have no 
strong preferences, but now I think that probably your approach is more 
preferable because it makes the code simpler and errors more explicit. Please 
commit your patch Victor if you don't see new reasons for original approach.

----------
assignee:  -> haypo
stage:  -> commit review
type:  -> behavior
Added file: 
http://bugs.python.org/file40338/namereplace_ignore_unicodedata_import_error.patch

_______________________________________
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