▲
Hacker News
new
|
best
|
ask
|
show
|
jobs
points by
gregdeon
2 days ago | 0 comments
This is wild. Is it part of Python's specification, or an implementation detail of CPython?
[–]
sakesun
2 days ago
As far as I understand, CPython implementation is THE specification. Some billions dollar ERP system firmly rely on this behavior, btw.
[–]
gregdeon
1 day ago
Yeah, I was afraid you would say that.
[–]
sakesun
1 day ago
Just check with pypy and Graalpy. Both support this as well.
[–]
dcrazy
1 day ago
Is the question whether multiple base classes are part of Python’s spec, or if the ability to assign to `__class__` is part of the spec?
[–] sakesun 2 days ago
[–] gregdeon 1 day ago
[–] sakesun 1 day ago