Message 391534 - Python tracker
Message391534
| Author | christian.heimes |
|---|---|
| Recipients | christian.heimes, njs, steve.dower |
| Date | 2021-04-21.17:41:02 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1619026862.11.0.239955087868.issue43902@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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 | |