New submission from Matthew Barnett <pyt...@mrabarnett.plus.com>:

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.

----------
components: Library (Lib)
messages: 141481
nosy: mrabarnett
priority: normal
severity: normal
status: open
title: urlopen returning empty string
type: behavior
versions: Python 3.2

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

Reply via email to