diff options
author | Skip Montanaro <skip@pobox.com> | 2009-10-18 14:25:35 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2009-10-18 14:25:35 (GMT) |
commit | ba1e0f46ab5a83be1a367b0eadb2f783e06228b3 (patch) | |
tree | dd688b778427cfdd6e4786322fd6ede99fd6bfbb /Python/marshal.c | |
parent | 6ead552b47ecc4e7d85a03b3b662c6d46e59bec3 (diff) | |
download | cpython-ba1e0f46ab5a83be1a367b0eadb2f783e06228b3.zip cpython-ba1e0f46ab5a83be1a367b0eadb2f783e06228b3.tar.gz cpython-ba1e0f46ab5a83be1a367b0eadb2f783e06228b3.tar.bz2 |
Issue 7147 - remove ability to attempt to build Python without complex number support (was broken anyway)
Diffstat (limited to 'Python/marshal.c')
-rw-r--r-- | Python/marshal.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/marshal.c b/Python/marshal.c index 256285b..3391085 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -254,7 +254,6 @@ w_object(PyObject *v, WFILE *p) PyMem_Free(buf); } } -#ifndef WITHOUT_COMPLEX else if (PyComplex_CheckExact(v)) { if (p->version > 1) { unsigned char buf[8]; @@ -297,7 +296,6 @@ w_object(PyObject *v, WFILE *p) PyMem_Free(buf); } } -#endif else if (PyBytes_CheckExact(v)) { w_byte(TYPE_STRING, p); n = PyBytes_GET_SIZE(v); @@ -714,7 +712,6 @@ r_object(RFILE *p) break; } -#ifndef WITHOUT_COMPLEX case TYPE_COMPLEX: { char buf[256]; @@ -773,7 +770,6 @@ r_object(RFILE *p) retval = PyComplex_FromCComplex(c); break; } -#endif case TYPE_STRING: n = r_long(p); |