[New-bugs-announce] [issue3763] Python 3.0 beta 2 : json and urllib not working together?

Swaroop report at bugs.python.org
Wed Sep 3 11:15:49 CEST 2008


New submission from Swaroop <swaroopch at gmail.com>:

Hi,

Running the attached program in Python 3.0 beta 2 gives the following error:

  File "C:\Python30\lib\json\decoder.py", line 21, in linecol
    lineno = doc.count('\n', 0, pos) + 1
TypeError: expected an object with the buffer interface

I can't figure out if there's an error in the program itself, but I
suspect this isn't working as expected.

Please let me know if there's anything I can do to help (if this is a
bug indeed).

Regards,
Swaroop

----------
components: None
files: yahoo_search.py
messages: 72379
nosy: swaroopch
severity: normal
status: open
title: Python 3.0 beta 2 : json and urllib not working together?
versions: Python 3.0
Added file: http://bugs.python.org/file11354/yahoo_search.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3763>
_______________________________________


More information about the New-bugs-announce mailing list