Martin v. Löwis <mar...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue9566> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com