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 pitrou
Recipients gvanrossum, neologix, pitrou, vstinner
Date 2013-10-06.15:02:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381071722.2488.8.camel@fsol>
In-reply-to <1381071669.2488.7.camel@fsol>
> FWIW, I think the "ideal" solution would be for keys() (*) to return a
> read-only Mapping implementation, allowing for file object lookup (using
> __getitem__) as well as iteration on SelectorKeys (using __iter__) and
> fast emptiness checking (using __len__).

Actually, you would use values() to iterate on SelectorKeys.
Date User Action Args
2013-10-06 15:02:04pitrousetrecipients: + pitrou, gvanrossum, vstinner, neologix
2013-10-06 15:02:03pitroulinkissue19172 messages
2013-10-06 15:02:03pitroucreate