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.

作者 ncoghlan
收信人 Andrew.Grover, baikie, brian, exarkun, giampaolo.rodola, jackdied, ncoghlan, neologix, pitrou, python-dev, rosslagerwall, synapse, therve, vstinner, wiml
日期 2011-08-23.12:02:23
SpamBayes Score 3.4871423e-06
Marked as misclassified
Message-id <1314100944.62.0.000597414232746.issue6560@psf.upfronthosting.co.za>
In-reply-to
内容
That's the part I'm questioning though. I'm not clear why you'd ever do that instead of doing everything on the original socket before invoking ssl.wrap_socket.

What I missed on the original patch before committing it (mea culpa) is that the SSL part is neither documented nor tested properly (the tests only check that it is disallowed on a secured SSLSocket, not that it works on a connected-but-not-secured-yet SSLSocket object).

The absence of proper tests and documentation is the main reason I'm tempted to just revert those parts of the patch that touch the ssl module and its tests.
历史
日期 用户 动作 参数
2011-08-23 12:02:24ncoghlan修改recipients: + ncoghlan, exarkun, pitrou, therve, vstinner, jackdied, baikie, giampaolo.rodola, synapse, Andrew.Grover, wiml, neologix, rosslagerwall, python-dev, brian
2011-08-23 12:02:24ncoghlan修改messageid: <1314100944.62.0.000597414232746.issue6560@psf.upfronthosting.co.za>
2011-08-23 12:02:24ncoghlan链接issue6560 messages
2011-08-23 12:02:23ncoghlan创建