[Python-Dev] int vs ssize_t in unicode (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Thu Apr 13 10:06:21 CEST 2006


Neal Norwitz wrote:

I just grepped for INTMAX and there's a ton of them still (well 83 in /.c). Some aren't an issue like posixmodule.c, those are SCINTMAX. marshal is probably ok, but all uses should be verified. Really all uses of {INT,LONG}{MIN,MAX} should be verified and converted to PYSSIZET{MIN,MAX} as appropriate.

I replaced all the trivial ones; the remaining ones are (IMO) more involved, or correct. In particular:

Regards, Martin



More information about the Python-Dev mailing list