[Python-Dev] New warnings in _sre.c

Martin v. Löwis martin at v.loewis.de
Mon Oct 20 16:14:25 EDT 2003


"Tim Peters" <tim.one at comcast.net> writes:

> MSVC complains when a signed int is compared to an unsigned int.  I'm glad
> it does, because the compiler silently casts the signed int to unsigned,
> which doesn't do what the author probably intended if the signed int is less
> than 0:

FWIW, gcc complains about the same thing.

Regards,
Martin



More information about the Python-Dev mailing list