Serhiy Storchaka added the comment: LGTM. Except that _PyUnicode_EqualToASCIIString() could be used for simplicity.
> _PyUnicode_CompareWithId is a private function. We can remove it if it has > issues. I would left it in maintained releases and removed it in 3.7 (or 3.6?). ---------- assignee: -> serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21449> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com