[Python-checkins] r46335 - python/trunk/Modules/_struct.c
bob.ippolito
python-checkins at python.org
Fri May 26 16:29:35 CEST 2006
Author: bob.ippolito
Date: Fri May 26 16:29:35 2006
New Revision: 46335
Modified:
python/trunk/Modules/_struct.c
Log:
Enable PY_USE_INT_WHEN_POSSIBLE in struct
Modified: python/trunk/Modules/_struct.c
==============================================================================
--- python/trunk/Modules/_struct.c (original)
+++ python/trunk/Modules/_struct.c Fri May 26 16:29:35 2006
@@ -16,12 +16,10 @@
#endif
-/* PY_USE_INT_WHEN_POSSIBLE is an experimental flag that changes the
+/* PY_USE_INT_WHEN_POSSIBLE is a flag that changes the
struct API to return int instead of long when possible. This is
often a significant performance improvement. */
-/*
#define PY_USE_INT_WHEN_POSSIBLE 1
-*/
/* PY_STRUCT_RANGE_CHECKING performs range checking on all arguments
to be packed. This will break some incorrect code that happened
More information about the Python-checkins
mailing list