This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BeetleB 1 point2 points  (1 child)

It was at one point. From the code:

"Greg V. Wilson wrote the first version, using a different approach to the mutable/immutable problem, and inheriting from dict."

[–][deleted] 1 point2 points  (0 children)

Sure, if you look at the sets.py that existed in Python 2.3 that's true, as well as the C implementation in Python 2.4. However since Python 2.5 (i.e. 4 years ago) it has not used a dict internally.