Steve Dower <steve.do...@python.org> added the comment:

Could we have the address exposed in a way that can only be passed back into 
ctypes? Or alternatively, doesn't function if ctypes is missing?

I don't like offering ways to get real memory addresses, especially for 
interesting objects. At the same time, I see the value of it being available 
raw for CFFI and other tools that can use it.

Maybe it would be better to expose it as 
ctx._call_with_ctypes("SSL_CTX_set_ciphersuites", 
b"TLS_CHACHA20_POLY1305_SHA256")? That also leaves the opportunity to 
special-case certain functions in the future.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43902>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to