[issue9566] Compilation warnings under x64 Windows

Martin v. Löwis report at bugs.python.org
Wed Jan 5 01:01:29 CET 2011


Martin v. Löwis <martin at v.loewis.de> added the comment:

> Oh. Not only is the comment is wrong, but the code is also wrong. It
> should return a negative value on error, whereas it returns the string
> length which is always positive (except on a unlikely Py_ssize_t => int
> overflow?).

Right. See msg125367.

----------

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


More information about the Python-bugs-list mailing list