Message269545
| Author |
gvanrossum |
| Recipients |
gvanrossum, j1m, vstinner, yselivanov |
| Date |
2016年06月29日.19:09:10 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAP7+vJKdKC4KaZm0z6eiwTuN8pJHYu9nkY2iBYw8P5hb6RVLRA@mail.gmail.com> |
| In-reply-to |
<1467224887.26.0.0387344661363.issue27392@psf.upfronthosting.co.za> |
| Content |
Rather tham monkey-patching, in general I recommend just copying some
code from the asyncio library and calling that. In this case you'd be
copying a tiny bit of code from create_connection(). You'd still be
calling an internal API, _make_ssl_transport(), but your code would
still be less likely to change when some part of the asyncio library
changes than with monkey-patching. (Of course, since you pretty much
invented monkey-patching, you may feel differently. :-) |
|