消息 [195064]
Here is a patch. Now the code of operator.index() becomes even more complicated. Perhaps you want suggest other wording for documentation?
Some code in stdlib (_pyio.py, bz2.py, connection.py) uses a.__index__() instead of type(a).__index__(a) (with replacing AttributeError to TypeError). Is it worth to change? |
|
| 日期 |
用户 |
动作 |
参数 |
| 2013-08-13 09:58:05 | serhiy.storchaka | 修改 | recipients:
+ serhiy.storchaka, mark.dickinson, zach.ware |
| 2013-08-13 09:58:05 | serhiy.storchaka | 修改 | messageid: <1376387885.19.0.784578035384.issue18712@psf.upfronthosting.co.za> |
| 2013-08-13 09:58:05 | serhiy.storchaka | 链接 | issue18712 messages |
| 2013-08-13 09:58:05 | serhiy.storchaka | 创建 | |
|