Nick Coghlan added the comment:

A point on the safety/correctness front: I remembered we already run arbitrary 
code at roughly this point in the eval loop, as we have to invoke __iter__ to 
get the exceptions to check when an iterable is used in except clause.

That means allowing the subclass check hooks to run here isn't as radical a 
change as I first thought.

----------

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

Reply via email to