[Python-Dev] Removing tp_compare? (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Sat Jan 31 22:37:05 CET 2009


Martin v. Löwis <martin v.loewis.de> writes:

> Any thoughts? My own opinion is that it really doesn't matter > that much if the slot is left in; it's just a little annoying to have > such backwards-compatibility baggage already present in > the shiny new 3.0 series. A little like finding a big scratch > on your brand-new bright yellow Hummer H3. Or not. Well, there is also PYSSIZETCLEAN. I asked before 3.0, and was told that it was too late to remove it.

Are all modules PY_SSIZE_T_CLEAN? Last I looked, _ssl.c still used int or long in various places instead of Py_ssize_t.

Regards

Antoine.



More information about the Python-Dev mailing list