Message203416
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! |
|
Date |
User |
Action |
Args |
2013-11-19 19:19:33 | dhaffner | set | recipients:
+ dhaffner, rhettinger, ezio.melotti, docs@python, hhm, pconnell |
2013-11-19 19:19:32 | dhaffner | set | messageid: <1384888772.96.0.548609324586.issue18032@psf.upfronthosting.co.za> |
2013-11-19 19:19:32 | dhaffner | link | issue18032 messages |
2013-11-19 19:19:32 | dhaffner | create | |
|