Albert Hopkins added the comment:
You can close this one out. I don't even remember the use case anymore.
--
___
Python tracker
<http://bugs.python.org/i
Albert Hopkins added the comment:
Oops, previous example was a directory, but it's the same if the url points to
a ftp file.
--
___
Python tracker
<http://bugs.python.org/i
Albert Hopkins 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
Changes by Albert Hopkins :
--
nosy: +marduk
___
Python tracker
<http://bugs.python.org/issue5380>
___
___
Python-bugs-list mailing list
Unsubscribe:
Albert Hopkins <[EMAIL PROTECTED]> added the comment:
Thanks for looking into this.
Ok... I applied your patch (actually it does not apply against Python
3.0 so I had to change it manually).
Now I'm not sure if this is still an error in the compiler or if it's
truly a proble
New submission from Albert Hopkins <[EMAIL PROTECTED]>:
Say I have module foo.py:
def a(x):
def b():
x
del x
If I run foo.py under Python 2.4.4 I get:
File "foo.py", line 4
del x
SyntaxError