3 ms·
Sure, but who to blame? There's no such thing as "Python Language Specification", and everyone is trying hard to be CPython-compatible (but ~impossible as your
by yegle 6y ago
Sure, but who to blame? There's no such thing as "Python Language Specification", and everyone is trying hard to be CPython-compatible (but ~impossible as your implementation need to be compatible with various C-written module).
Should there be a "language spec", competing implementation would make the language stronger not weaker. Examples include gccgo, various Java vm, C++ compilers.
- xapata 6y agoI'm pretty sure you can find the Python language specification in the form of documentation at python.org. Some things that CPython does are occasionally misconstrued as specification, but the docs usually call that out.
- yegle 6y agoThe closest thing to a "language spec" is https://docs.python.org/3/reference/index.html https://docs.python.org/3/reference/index.html, which still contains a lot of CPython specific/internal implementations (e.g. https://docs.python.org/3/reference/datamodel.html?highlight=cpython https://docs.python.org/3/reference/datamodel.html?highlight...). This, and combined with https://www.hyrumslaw.com/ https://www.hyrumslaw.com/, makes this "Python Language Reference" a "CPython Language Reference".