R. David Murray added the comment:

Python is a consenting adults language.  If you call register, we assume you 
know what you are doing.  The isinstance check, on the other hand, does look in 
certain cases.  So if you define __iter__ you don't have to call register to 
make isinstance(o, Iterable) be True.

----------
nosy: +r.david.murray
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to