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 janssen
Recipients amaury.forgeotdarc, christian.heimes, gvanrossum, janssen
Date 2007-12-11.03:51:57
SpamBayes Score 0.019663885
Marked as misclassified No
Message-id <1197345118.26.0.0859526291858.issue1469@psf.upfronthosting.co.za>
In-reply-to
Content
Now, about the "confused signature" of SSLSocket.read().

I'm not sure how confused it is.  It's sui generis; SSLSocket doesn't
inherit from some other class with a different read() method with a
different signature.  But we could change the name, perhaps to
"readbytes", or something similar?  I wrote it the way I did to keep
some kind of compatibility with pre-3.0 uses of the SSL module.

Anyway, the error is coming from a bug in the implementation of
'suppress_ragged_eofs'.  The code in SSLSocket.read() that handles the
EOF error needs to return the right kind of value.  I've added it to the
patch.
Files
File name Uploaded
patch-2 janssen, 2007-12-11.03:51:57
History
Date User Action Args
2007-12-11 03:51:58janssensetspambayes_score: 0.0196639 -> 0.019663885
recipients: + janssen, gvanrossum, amaury.forgeotdarc, christian.heimes
2007-12-11 03:51:58janssensetspambayes_score: 0.0196639 -> 0.0196639
messageid: <1197345118.26.0.0859526291858.issue1469@psf.upfronthosting.co.za>
2007-12-11 03:51:58janssenlinkissue1469 messages
2007-12-11 03:51:57janssencreate