Niklas Koep added the comment:

Oh, you're right, of course. I completely forgot that any other case which 
jumps to the error label assumes an appropriate exception has already been set. 
I attached a new patch which raises a TypeError. Is there a better way to 
identify the type which is affected by this exception? Since we're complaining 
about the missing tp_name field we obviously can't supply the name in the 
exception.

----------
Added file: http://bugs.python.org/file30724/patch.default

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18287>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to