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 Antony.Lee
Recipients Antony.Lee, brett.cannon, larry, ncoghlan, python-dev, yselivanov
Date 2014-08-15.20:37:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408135079.17.0.0123265072466.issue20334@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, that specific solution (using a helper method) will fail because there may be unhashable params (due to unhashable default values or annotations) among the keyword-only arguments, so it may not be possible to build a frozenset (rather, one should compare the {param.name: param if param.kind == KEYWORD_ONLY} dict).  The frozenset approach still works for computing the hash as this requires all params to be hashable anyways.
History
Date User Action Args
2014-08-15 20:37:59Antony.Leesetrecipients: + Antony.Lee, brett.cannon, ncoghlan, larry, python-dev, yselivanov
2014-08-15 20:37:59Antony.Leesetmessageid: <1408135079.17.0.0123265072466.issue20334@psf.upfronthosting.co.za>
2014-08-15 20:37:59Antony.Leelinkissue20334 messages
2014-08-15 20:37:59Antony.Leecreate