7.19.0-5ubuntu5 is broken on python 2.X
Bug #1108161 reported by
Thomas Herve
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pycurl (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The recent patch uploaded raring fixing a python3 issue is breaking usage of WRITEFUNCTION in python 2.X. http://
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(
curl.setopt(
curl.perform()
print body.getvalue()
Related branches
To post a comment you must log in.
validated on raring:
SystemError: bad format char passed to Py_BuildValue
Traceback (most recent call last):
File "1.py", line 9, in <module>
curl.perform()
pycurl.error: (23, 'Failed writing body (0 != 7963)')