Re: [Python-Dev] Exception and ABCs / issue #12029

2012-05-11 Thread Guido van Rossum
Thanks for bringing this up. I've added my opinion to the tracker issue -- I think it's a bug and should be fixed. We should have a uniform way of checking for issubclass/isinstance. --Guido On Fri, May 11, 2012 at 3:33 AM, George-Cristian Bîrzan wrote: > As per http://bugs.python.org/issue12029

[Python-Dev] Exception and ABCs / issue #12029

2012-05-11 Thread George-Cristian Bîrzan
As per http://bugs.python.org/issue12029 , ABC registration cannot be used for exceptions. This was introduced in a commit that fixed a recursion limit problem back in 2008 (http://hg.python.org/cpython/rev/d6e86a96f9b3/#l8.10). This was later fixed in a different way and improved upon in the 2.x b