[issue27350] Compact and ordered dict
Serhiy Storchaka
report at bugs.python.org
Sun Jun 19 01:41:04 EDT 2016
Serhiy Storchaka added the comment:
> How to support sizeof(Py_ssize_t) == 4?
#if SIZEOF_VOID_P == 4
> Can I use int8_t, int16_t and int32_t
You can use PY_INT32_T for 32-bit signed integers, short for 16-bit signed integers (if SIZEOF_SHORT == 2) and signed char for 8-bit signed integers. Or introduce PY_INT16_T and PY_INT8_T similarly as it was done for PY_INT32_T.
----------
nosy: +rhettinger, serhiy.storchaka
stage: -> patch review
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27350>
_______________________________________
More information about the Python-bugs-list
mailing list