This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:09belopolskysetrecipients: + belopolsky, loewis, georg.brandl, billm, abacabadabacaba
2011-01-14 06:42:09belopolskysetmessageid: <1294987329.21.0.573848785065.issue6083@psf.upfronthosting.co.za>
2011-01-14 06:42:07belopolskylinkissue6083 messages
2011-01-14 06:42:06belopolskycreate