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.

作者 pitrou
收信人 belopolsky, benjamin.peterson, casevh, georg.brandl, jimjjewett, ked-tao, lemburg, loewis, mark.dickinson, pitrou, rhettinger, skip.montanaro, tim.peters
日期 2010-10-18.13:59:44
SpamBayes Score 7.164451e-05
Marked as misclassified
Message-id <1287410381.3492.2.camel@localhost.localdomain>
In-reply-to <AANLkTi=ZRg9N=uRuUS0wTpZUzFSC8h5J=jLBdK+bjpAf@mail.gmail.com>
内容
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).
历史
日期 用户 动作 参数
2010-10-18 13:59:46pitrou修改recipients: + pitrou, lemburg, tim.peters, loewis, skip.montanaro, georg.brandl, rhettinger, jimjjewett, mark.dickinson, belopolsky, casevh, ked-tao, benjamin.peterson
2010-10-18 13:59:44pitrou链接issue9778 messages
2010-10-18 13:59:44pitrou创建