[Bug 1108161] [NEW] 7.19.0-5ubuntu5 is broken on python 2.X
Thomas Herve
1108161 at bugs.launchpad.net
Mon Jan 28 19:23:03 UTC 2013
Public bug reported:
The recent patch uploaded raring fixing a python3 issue is breaking
usage of WRITEFUNCTION in python 2.X.
http://launchpadlibrarian.net/129472394/pycurl_7.19.0-5ubuntu4_7.19.0-5ubuntu5.diff.gz
is the patch.
The following script fails with "SystemError: bad format char passed to
Py_BuildValue":
import pycurl
from StringIO import StringIO
body = StringIO()
curl = pycurl.Curl()
curl.setopt(pycurl.URL, "http://www.ubuntu.com/")
curl.setopt(pycurl.WRITEFUNCTION, body.write)
curl.perform()
print body.getvalue()
** Affects: pycurl (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pycurl in Ubuntu.
https://bugs.launchpad.net/bugs/1108161
Title:
7.19.0-5ubuntu5 is broken on python 2.X
Status in “pycurl” package in Ubuntu:
New
Bug description:
The recent patch uploaded raring fixing a python3 issue is breaking
usage of WRITEFUNCTION in python 2.X.
http://launchpadlibrarian.net/129472394/pycurl_7.19.0-5ubuntu4_7.19.0-5ubuntu5.diff.gz
is the patch.
The following script fails with "SystemError: bad format char passed
to Py_BuildValue":
import pycurl
from StringIO import StringIO
body = StringIO()
curl = pycurl.Curl()
curl.setopt(pycurl.URL, "http://www.ubuntu.com/")
curl.setopt(pycurl.WRITEFUNCTION, body.write)
curl.perform()
print body.getvalue()
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/1108161/+subscriptions
More information about the foundations-bugs
mailing list