Martin v. Löwis <[email protected]> added the comment:
I find the injection of a fake unicode class too hacky. Instead, I suggest that
each module does
try:
_unicode = unicode
except NameError:
# no unicode support in this build
class _unicode:
pass
and then have the isinstance checks look for _unicode
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8767>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com