[issue7692] Pointless comparision of unsigned integer with zero

Bugger report at bugs.python.org
Wed Jan 13 15:01:25 CET 2010


New submission from Bugger <buffer.100.webmaster at spamgourmet.com>:

Hi,

small preprocessor warning.

Pointless comparision of unsigned integer with zero. Check PyMem_NEW.

Can an usigned int be smaller than 0? < comparision is "pointless" here.

Bye, Bugger

----------
components: None
messages: 97716
nosy: Bugger
severity: normal
status: open
title: Pointless comparision of unsigned integer with zero
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7692>
_______________________________________


More information about the Python-bugs-list mailing list