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 donkopotamus
Recipients donkopotamus
Date 2017-04-19.05:20:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492579230.86.0.379456919312.issue30100@psf.upfronthosting.co.za>
In-reply-to
Content
Currently WeakSet().discard([]) will raise a TypeError as we cannot take a weak reference to a list.

However, that means a list can never be in a WeakSet, so WeakSet().discard([]) could instead be a no-op.  Similarly WeakSet().remove([]) could be a KeyError.
History
Date User Action Args
2017-04-19 05:20:30donkopotamussetrecipients: + donkopotamus
2017-04-19 05:20:30donkopotamussetmessageid: <1492579230.86.0.379456919312.issue30100@psf.upfronthosting.co.za>
2017-04-19 05:20:30donkopotamuslinkissue30100 messages
2017-04-19 05:20:30donkopotamuscreate