diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-03-29 16:58:21 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-03-29 16:58:21 (GMT) |
commit | b40b947c864e42e81718be1384110a1ac66f1a96 (patch) | |
tree | 378c294db58cf5ad4eb28ebd362428ff8bd1f40d /Modules | |
parent | 4feda2abc287fcde4ac57364b0cad3756d534fb3 (diff) | |
download | cpython-b40b947c864e42e81718be1384110a1ac66f1a96.zip cpython-b40b947c864e42e81718be1384110a1ac66f1a96.tar.gz cpython-b40b947c864e42e81718be1384110a1ac66f1a96.tar.bz2 |
Issue #5463: Remove _PY_STRUCT_RANGE_CHECKING constant from struct
module, and remove associated code from test_struct. This was a
mechanism for skipping some of the tests for overflow behaviour when
packing integers; it's no longer necessary.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_struct.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c index 3cc9fa0..066759a 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c @@ -2028,7 +2028,6 @@ PyInit__struct(void) PyModule_AddObject(m, "__version__", ver); - PyModule_AddIntConstant(m, "_PY_STRUCT_RANGE_CHECKING", 1); #ifdef PY_STRUCT_FLOAT_COERCE PyModule_AddIntConstant(m, "_PY_STRUCT_FLOAT_COERCE", 1); #endif |