They are all python implementations. CPython is not a definitive implementation; it is a reference implementation. There is a specification, separate to the CPython implementation, although they are developed in tandem. That's why you get situations like dict ordering, where before 3.6 they had arbitrary order; in CPython 3.6 but not Python 3.6 they were insertion-ordered, and in Python 3.7 onward they are insertion-ordered.
Some implementations do or don't comply with the whole spec.
View all comments
Show parent comment
6
u/tunisia3507 Jun 06 '21
They are all python implementations. CPython is not a definitive implementation; it is a reference implementation. There is a specification, separate to the CPython implementation, although they are developed in tandem. That's why you get situations like dict ordering, where before 3.6 they had arbitrary order; in CPython 3.6 but not Python 3.6 they were insertion-ordered, and in Python 3.7 onward they are insertion-ordered.
Some implementations do or don't comply with the whole spec.