Antoine Pitrou added the comment:

Those methods are defined precisely so that they can be delegated. Since 
virtually anything can be proxied, the weakref.proxy *class* cannot tell 
upfront whether the proxied object will be an Iterator or not. I don't really 
see how to get around that.

----------
nosy: +benjamin.peterson, gvanrossum
versions: +Python 3.5

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

Reply via email to