Antoine Pitrou <pit...@free.fr> added the comment: Le lundi 15 décembre 2008 à 14:41 +0000, Marc-Andre Lemburg a écrit : > Why have you removed the complete error handling section in > PyUnicode_RichCompare() ?
Because the only error that can occur is a TypeError when one of the two arguments is not an unicode object, and that is handled by returning Py_NotImplemented at the end. (there is no implicit bytes -> unicode coercion anymore, and therefore things are much simpler) _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3106> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com