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 abarry
Recipients abarry, brett.cannon, ncoghlan, rhettinger, serhiy.storchaka, vstinner, xiang.zhang
Date 2016-05-30.15:52:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464623548.75.0.365268345618.issue27137@psf.upfronthosting.co.za>
In-reply-to
Content
New patch after Serhiy's comments. I kept the __dict__ in pickling to properly pickle attributes that aren't defined by 'partial' itself; but if 'func', 'args' or 'keywords' are present and don't match the provided arguments, an error will be raised, as it should not be partial's responsibility to handle this; this is for the caller to do.
History
Date User Action Args
2016-05-30 15:52:28abarrysetrecipients: + abarry, brett.cannon, rhettinger, ncoghlan, vstinner, serhiy.storchaka, xiang.zhang
2016-05-30 15:52:28abarrysetmessageid: <1464623548.75.0.365268345618.issue27137@psf.upfronthosting.co.za>
2016-05-30 15:52:28abarrylinkissue27137 messages
2016-05-30 15:52:28abarrycreate