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 steve.dower
Recipients christian.heimes, njs, steve.dower
Date 2021-04-21.17:09:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619024975.18.0.927311064395.issue43902@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-04-21 17:09:35steve.dowersetrecipients: + steve.dower, christian.heimes, njs
2021-04-21 17:09:35steve.dowersetmessageid: <1619024975.18.0.927311064395.issue43902@roundup.psfhosted.org>
2021-04-21 17:09:35steve.dowerlinkissue43902 messages
2021-04-21 17:09:35steve.dowercreate