Albert Hopkins <[email protected]> added the comment:
This issue appears to persist when the protocol used is FTP:
root@tp-db $ cat test.py
from urllib.request import urlopen
for line in urlopen('ftp://gentoo.osuosl.org/pub/gentoo/releases/'):
print(line)
break
root@tp-db $ python3.2 test.py
Traceback (most recent call last):
File "test.py", line 2, in <module>
for line in urlopen('ftp://gentoo.osuosl.org/pub/gentoo/releases/'):
TypeError: 'addinfourl' object is not iterable
----------
nosy: +marduk
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue4608>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com