This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients belopolsky, benjamin.peterson, casevh, georg.brandl, jimjjewett, ked-tao, lemburg, loewis, mark.dickinson, pitrou, rhettinger, skip.montanaro, tim.peters
Date 2010-10-18.13:59:44
SpamBayes Score 7.164451e-05
Marked as misclassified No
Message-id <1287410381.3492.2.camel@localhost.localdomain>
In-reply-to <AANLkTi=ZRg9N=uRuUS0wTpZUzFSC8h5J=jLBdK+bjpAf@mail.gmail.com>
Content
Le lundi 18 octobre 2010 à 13:56 +0000, Alexander Belopolsky a écrit :
> Alexander Belopolsky <belopolsky@users.sourceforge.net> added the comment:
> 
> On Mon, Oct 18, 2010 at 8:45 AM, Benjamin Peterson
> <report@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).
History
Date User Action Args
2010-10-18 13:59:46pitrousetrecipients: + pitrou, lemburg, tim.peters, loewis, skip.montanaro, georg.brandl, rhettinger, jimjjewett, mark.dickinson, belopolsky, casevh, ked-tao, benjamin.peterson
2010-10-18 13:59:44pitroulinkissue9778 messages
2010-10-18 13:59:44pitroucreate