[Python-Dev] Re: PEP 276 (simple iterator for ints)

David Abrahams dave at boost-consulting.com
Thu Jul 1 11:44:43 EDT 2004

Gareth McCaughan <gmccaughan at synaptics-uk.com> writes:

> By the by, I don't think it's true that sets.Set(42)
> would, under PEP276, be the usual implementation of 42
> in set theory. It would be a set whose elements are
> ordinary Python integers, which are not themselves sets.
> If you see what I mean. :-)

And that's what confused me most of all about Andy's assertion.

Dave Abrahams
Boost Consulting

More information about the Python-Dev mailing list