Vedran Čačić <> added the comment:

1. +0 _if_ the implementation is easy to explain. If backward compatibility is 
an issue, we can always add a property: 
for flag in flags.set:
(though set might imply unorderedness:)
2. -1. Guido said long ago that all lens should be O(1).
(Of course, if you do make it O(1), I have no objection.)
3. +1, absolutely.

nosy: +veky

Python tracker <>
Python-bugs-list mailing list

Reply via email to