Product SiteDocumentation Site

1.221. python-pycurl

1.221.1. RHBA-2011:0295: bug fix update

An updated python-pycurl package that fixes two bugs is now available for Red Hat Enterprise Linux 6.
PycURL is a Python interface to libcurl. PycURL is used to fetch objects identified by a URL from a Python program, similar to the urllib Python module.
This update fixes the following bugs:
  • Prior to this update, calling the reset() method caused internal cURL properties to be lost, including the pointer to an error buffer. Consequent to this, when an error occurred, the resulting message could be empty. This update prevents this pointer from being lost, and error messages are now displayed as expected. (BZ#565654)
  • When the reset() method was called, the number of references to the "Py_None" object was not counted properly. Consequent to this, Python could terminate unexpectedly with the following error message:
    Fatal Python error: deallocating None
    Aborted (core dumped)
    
    With this update, the underlying source code has been modified to address this issue, and references to the "Py_None" object are now counted as expected. (BZ#624559)
All users of python-pycurl are advised to upgrade to this updated package, which resolves these issues.