Message224734
Le 04/08/2014 11:21, Geert Jansen a écrit :
>
> I realize the above is an abstraction violation between the C and
Python level. Now that we have an SSLObject Python level API, I could
update the code to store a weakref to the SSLObject in the _SSLSocket
(just like it does for SSLSocket). That way I can pass the Python level
object into the callback. Any thoughts?
I think it would make the exposed API nicer, although the implementation
would be a bit uglier. Given Python's philosophy, I think the nicer API
wins :-) |
|
Date |
User |
Action |
Args |
2014-08-04 15:24:15 | pitrou | set | recipients:
+ pitrou, gvanrossum, geertj, janssen, vstinner, giampaolo.rodola, christian.heimes, ezio.melotti, Ben.Darnell, yselivanov, dstufft |
2014-08-04 15:24:15 | pitrou | link | issue21965 messages |
2014-08-04 15:24:15 | pitrou | create | |
|