STINNER Victor <vstin...@redhat.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35972>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to