summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2006-05-26 14:29:35 (GMT)
committerBob Ippolito <bob@redivi.com>2006-05-26 14:29:35 (GMT)
commit1d2b0e3f615874aae9b267f341f3461881a1c054 (patch)
tree05ed62fdc2e921a59123c485dd127f7c7edee593 /Modules
parent685dda8b954eadf8fd70131b4381b3cb4ee52c7a (diff)
downloadcpython-1d2b0e3f615874aae9b267f341f3461881a1c054.zip
cpython-1d2b0e3f615874aae9b267f341f3461881a1c054.tar.gz
cpython-1d2b0e3f615874aae9b267f341f3461881a1c054.tar.bz2
Enable PY_USE_INT_WHEN_POSSIBLE in struct
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_struct.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c
index 8c98db8..95b5e0b 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -16,12 +16,10 @@ typedef int Py_ssize_t;
#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