2010/8/23 Guido van Rossum <gu...@python.org>: > Changing C APIs is even harder than changing Python API because you > can't add exceptions to something that wasn't returning exceptions > before. We did that for comparisons in the past and it was a pain (but > worth it). For these two little APIs I think it is not worth it, > though it may be worth it to create new APIs that *do* return > exceptions.
+1 I propose we add PyObject_HasattrWithErrors to parallel PyDict_GetItemWithErrors. -- Regards, Benjamin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com