消息 [119019]
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:46 | pitrou | 修改 | 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:44 | pitrou | 链接 | issue9778 messages |
| 2010-10-18 13:59:44 | pitrou | 创建 | |
|