[issue25448] Exception ABC doesn't work in Python 3 (but does in Python 2.7)

2015-10-20 Thread Medardo Rodriguez
Medardo Rodriguez added the comment: Josh Rosenberg, you are right, it's a duplication. Sorry I didn't find the issue #12029 before. -- ___ Python tracker <http://bugs.python.o

[issue25448] Exception ABC doesn't work in Python 3 (but does in Python 2.7)

2015-10-20 Thread Medardo Rodriguez
Medardo Rodriguez added the comment: Thanks ~eryksun, you clarified me in where the error is located and possible patches for it. We are programming a framework where is very important to do mappings between (1) the API and (2) the drivers layers. We try to make our code available to both

[issue25448] Exception ABC doesn't work in Python 3 (but does in Python 2.7)

2015-10-20 Thread Medardo Rodriguez
New submission from Medardo Rodriguez: When I run the next code in all my installed versions of Python 3 (and the equivalent code for PyPy and CPython 2.7): - Runs OK in CPython 2.7 equivalent code (using `ABCMeta` as meta-class). - Fails in PyPy and all versions of Python 3