Antoine Pitrou <pit...@free.fr> added the comment: Le lundi 18 octobre 2010 à 13:56 +0000, Alexander Belopolsky a écrit : > Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment: > > On Mon, Oct 18, 2010 at 8:45 AM, Benjamin Peterson > <rep...@bugs.python.org> wrote: > .. > > No, negative values have to be allowed. > > > > Why? As far as I can tell, negative values are only used as sentinels > and we can use say (size_t)-1 instead of -1L.
You can, except that changing the sentinel value will probably break a lot of code out there (and there's no benefit AFAICT). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9778> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com