This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jitterman
Recipients jitterman
Date 2015-05-12.19:23:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431458639.62.0.956641186382.issue24171@psf.upfronthosting.co.za>
In-reply-to
Content
In python2.7.9, httplib.py, on line 780, makes a call to:

    line = response.fp.readline(_MAXLINE + 1)

This ends up calling a function defined on line 1362 in the same file:

    def readline(self):

Notice the argument mismatch. The call passes two arguments, but the function defines only one. This can be 'fixed' by changing the definition to:

    def readline(self, size=None):
History
Date User Action Args
2015-05-12 19:23:59jittermansetrecipients: + jitterman
2015-05-12 19:23:59jittermansetmessageid: <1431458639.62.0.956641186382.issue24171@psf.upfronthosting.co.za>
2015-05-12 19:23:59jittermanlinkissue24171 messages
2015-05-12 19:23:59jittermancreate