Message126234
| Author |
belopolsky |
| Recipients |
abacabadabacaba, belopolsky, billm, georg.brandl, loewis |
| Date |
2011年01月14日.06:42:06 |
| SpamBayes Score |
1.1390248e-08 |
| Marked as misclassified |
No |
| Message-id |
<1294987329.21.0.573848785065.issue6083@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年01月14日 06:42:09 | belopolsky | set | recipients:
+ belopolsky, loewis, georg.brandl, billm, abacabadabacaba |
| 2011年01月14日 06:42:09 | belopolsky | set | messageid: <1294987329.21.0.573848785065.issue6083@psf.upfronthosting.co.za> |
| 2011年01月14日 06:42:07 | belopolsky | link | issue6083 messages |
| 2011年01月14日 06:42:06 | belopolsky | create |
|