Serhiy Storchaka added the comment: > + if u'\ud83d\udc9d' != u'\U0001f49d': > > If would prefer a test on sys.maxunicode, something like: > > if sys.maxunicode == 0xffff:
No. 1. The check is true only on wide build. 2. It depends on how test module was loaded, true if it loaded from .py-file and false if it loaded from .py[co]-file. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19457> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com