Xiang Zhang added the comment: > The name _PyUnicode_CompareWithIdEqual looks too long to me. What about > _PyUnicode_EqualToId?
+1. I think this name is more clear. Serhiy's idea on the implementation sounds good. As for _PyUnicode_FROM_ID, I think it's better for another issue. ---------- nosy: +xiang.zhang Added file: http://bugs.python.org/file45479/_PyUnicode_EqualToId.patch _______________________________________ 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