Message335299
What matters here is that _PyCrossInterpreterData.data type is void*. So the largest integer that you can store is intptr_t (signed) or uintptr_t (unsigned). In practice, sizeof(void*) == sizeof(intptr_t) == sizeof(uintptr_t) == sizeof(size_t) == sizeof(ssize_t). IMHO using size_t or ssize_t is a good solution, since it's well supported in Python. |
|
Date |
User |
Action |
Args |
2019-02-12 12:55:24 | vstinner | set | recipients:
+ vstinner, eric.snow, izbyshev |
2019-02-12 12:55:24 | vstinner | set | messageid: <1549976124.44.0.543330900605.issue35972@roundup.psfhosted.org> |
2019-02-12 12:55:24 | vstinner | link | issue35972 messages |
2019-02-12 12:55:24 | vstinner | create | |
|