Stefan Krah added the comment: To expand a little, you use the terminology "possible bugs". All I can see is a double exception if PyUnicode_Compare() returns -1.
I think I did it on purpose because this function is speed sensitive and no user will change a valid rounding mode *constant* to a string that is not ready. So getting a double exception after deliberately sabotaging the module seems pretty benign to me. :) Consider the decimal part rejected. ---------- _______________________________________ 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