[Python-3000] C API for ints and strings (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sat Sep 8 19:38:48 CEST 2007


Hm, then perhaps rangeobject.c shouldn't use it?

That use is correct also; the int_range_iter is also an optimization. It does not matter that the result is not correct; if one bound is >2**30, it will create a longrangeiter, even though an int one would still be sufficient.

Regards, Martin



More information about the Python-3000 mailing list