Author sspapilin
Recipients sspapilin
Date 2012-06-04.20:14:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
File is

#!/usr/bin/env python
import urllib2
print urllib2.urlopen('').read()

When I issue

python > out.txt

, I get file about 100KB in size, the beginning of the actual file. I repeated it a hundred times, and almost every time I get 98305 byte file, and a couple of times a 49153 bytes or 188417 bytes file.

When I replace urllib2 with urllib in, I get full (4 MB) file.

I have Ubuntu 12.04 64-bit, Python 2.7.3 (from default Ubuntu repository, up-to-date as of 4-june-2012) and slow, 64KB/s, Internet connection.

However, I asked my friend with Windows and faster connection to check it, and he got partial download as well, while he had another size of partial file (50109 bytes). I do not know his OS ant Python versions.
Date User Action Args
2012-06-04 20:14:41sspapilinsetrecipients: + sspapilin
2012-06-04 20:14:41sspapilinsetmessageid: <>
2012-06-04 20:14:41sspapilinlinkissue15002 messages
2012-06-04 20:14:40sspapilincreate