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 dhaffner
Recipients dhaffner, docs@python, ezio.melotti, hhm, pconnell, rhettinger
Date 2013-11-19.19:19:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384888772.96.0.548609324586.issue18032@psf.upfronthosting.co.za>
In-reply-to
Content
I've made an attempt at patching set_issubset() to match the Python from Raymond's message. I've rearranged the set_issubset function so that it checks for a set/frozenset, dict, or iterable in that order. In the iterable case it will create a temporary set and add elements to it as it consumes them from the iterable, returning early when possible.

This is my first patch, please let me know how I may improve it!
History
Date User Action Args
2013-11-19 19:19:33dhaffnersetrecipients: + dhaffner, rhettinger, ezio.melotti, docs@python, hhm, pconnell
2013-11-19 19:19:32dhaffnersetmessageid: <1384888772.96.0.548609324586.issue18032@psf.upfronthosting.co.za>
2013-11-19 19:19:32dhaffnerlinkissue18032 messages
2013-11-19 19:19:32dhaffnercreate