Subsets of Python implemented in Python

candide candide at free.invalid
Fri Jul 16 19:34:48 EDT 2010


I don't understand why some parts of the Python language (or the Python 
standard library too) are implemented in C while some other parts are 
implemented in the Python language itself. For instance, lists and 
dictionnaries are implemented in C but sets are not.

Wouldn't be better to implement all in C (for efficiency reasons for 
example) ?



More information about the Python-list mailing list