Serhiy Storchaka added the comment: An alternative patch checks the result of PyUnicode_Compare() (as Xiang suggested) instead of checking the value before calling PyUnicode_Compare(). Stephan, what way do you prefer?
---------- nosy: +facundobatista, mark.dickinson, rhettinger, skrah Added file: http://bugs.python.org/file46186/unicode_compare_2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29190> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com