This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mrabarnett
Recipients mrabarnett
Date 2011-07-31.23:04:49
SpamBayes Score 0.008886227
Marked as misclassified No
Message-id <1312153489.91.0.210559170724.issue12671@psf.upfronthosting.co.za>
In-reply-to
Content
Someone over at StackOverflow had a problem with urlopen in Python 3.2.1:

    http://stackoverflow.com/questions/6892573/problem-with-urlopen/6892843#6892843

This is the code:

    from urllib.request import urlopen
    f = urlopen('http://online.wsj.com/mdc/public/page/2_3020-tips.html?mod=topnav_2_3000')
    page = f.read()
    f.close()

With Python 3.1 and Python 3.2 it works OK, but with Python 3.2.1 the
read returns an empty string.
History
Date User Action Args
2011-07-31 23:04:50mrabarnettsetrecipients: + mrabarnett
2011-07-31 23:04:49mrabarnettsetmessageid: <1312153489.91.0.210559170724.issue12671@psf.upfronthosting.co.za>
2011-07-31 23:04:49mrabarnettlinkissue12671 messages
2011-07-31 23:04:49mrabarnettcreate