Message391534
I don't want to import ctypes from the ssl module code.
PyCapsule could be a solution for the problem. Users would have to call PyCapsule_Import("_ssl.capsule") and PyCapsule_GetPointer() to access a struct with additional methods. It's a bit more work to implement and slightly harder to use, but safer than exposing raw memory addresses. |
|
Date |
User |
Action |
Args |
2021-04-21 17:41:02 | christian.heimes | set | recipients:
+ christian.heimes, njs, steve.dower |
2021-04-21 17:41:02 | christian.heimes | set | messageid: <1619026862.11.0.239955087868.issue43902@roundup.psfhosted.org> |
2021-04-21 17:41:02 | christian.heimes | link | issue43902 messages |
2021-04-21 17:41:02 | christian.heimes | create | |
|