[issue4250] urllib2.py: HTTPResponse instance has no attribute 'code'

2008-11-02 Thread Jon Perez
New submission from Jon Perez <[EMAIL PROTECTED]>: In http_response() in HTTPErrorProcessor in urllib2.py, the following line code, msg, hdrs = response.code, response.msg, response.info() results in an error because response.code is not a valid attribute, changing it to response.status

[issue4249] HTTPResponse instance has no attribute 'code'

2008-11-02 Thread Jon Perez
New submission from Jon Perez <[EMAIL PROTECTED]>: In http_response in HTTPErrorProcessor, the following line code, msg, hdrs = response.code, response.msg, response.info() results in an error because response.code is not a valid attribute, changing it to response.status works, but is th