[issue18170] define built-in exceptions in Python code
Brett Cannon
report at bugs.python.org
Mon Jun 10 02:46:56 CEST 2013
Brett Cannon added the comment:
Yeah, that's the tricky bit. =) That's why I was thinking of starting with the leaf exceptions and then just slowly working down the hierarchy until I hit exceptions that just had to exist in C code (e.g. BaseException, Exception, and maybe SyntaxError). The rest could be made fake with Exception to start and then replace after the module was loaded.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18170>
_______________________________________
More information about the Python-bugs-list
mailing list