消息 [263895]
I suggest to remove the micro-optimization from Python 3.5 for safety.
I'm ok to experiment a new safer implementation on Python 3.6 ;-) We have more time to fix the code in Python 3.6 if new issues are found. Setting the tuple size to zero looks simple and safe, but the overall hack deserves a comment to explain:
* why you use a cached tuple
* why the reference count can be different than 2: recursive calls
* why do you change the tuple size |
|
| 日期 |
用户 |
动作 |
参数 |
| 2016-04-21 08:06:22 | vstinner | 修改 | recipients:
+ vstinner, brett.cannon, rhettinger, ncoghlan, larry, eric.snow, serhiy.storchaka, random832, xiang.zhang |
| 2016-04-21 08:06:22 | vstinner | 修改 | messageid: <1461225982.36.0.541231496411.issue26811@psf.upfronthosting.co.za> |
| 2016-04-21 08:06:22 | vstinner | 链接 | issue26811 messages |
| 2016-04-21 08:06:22 | vstinner | 创建 | |
|