消息 [126234]
Attached patch passes the regrtest and makes test-functools.py raise an exception rather than crash. The proposed change will make functions like partial.__setstate__ require tuple argument even though currently it would accept any container. This is not an issue with __setstate__ because it should only be called with arguments produced by __reduce__ and in the case of partial, __reduce__ produces state as a tuple. Other functions may need to be modified if they need to continue to accept arbitrary sequences. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2011-01-14 06:42:09 | belopolsky | 修改 | recipients:
+ belopolsky, loewis, georg.brandl, billm, abacabadabacaba |
| 2011-01-14 06:42:09 | belopolsky | 修改 | messageid: <1294987329.21.0.573848785065.issue6083@psf.upfronthosting.co.za> |
| 2011-01-14 06:42:07 | belopolsky | 链接 | issue6083 messages |
| 2011-01-14 06:42:06 | belopolsky | 创建 | |
|