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 vstinner
Recipients eric.snow, izbyshev, vstinner
Date 2019-02-12.12:55:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549976124.44.0.543330900605.issue35972@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-02-12 12:55:24vstinnersetrecipients: + vstinner, eric.snow, izbyshev
2019-02-12 12:55:24vstinnersetmessageid: <1549976124.44.0.543330900605.issue35972@roundup.psfhosted.org>
2019-02-12 12:55:24vstinnerlinkissue35972 messages
2019-02-12 12:55:24vstinnercreate