The Python Oracle

What is the difference between old style and new style classes in Python?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Track title: CC F Haydns String Quartet No 53 in D

--

Chapters
00:00 Question
00:22 Accepted answer (Score 615)
02:50 Answer 2 (Score 334)
03:27 Answer 3 (Score 244)
05:51 Answer 4 (Score 42)
06:25 Thank you

--

Full question
https://stackoverflow.com/questions/5486...

Accepted answer links:
[New-style and classic classes]: http://docs.python.org/2/reference/datam...

Answer 3 links:
[super]: https://stackoverflow.com/questions/5761...
[descriptors]: http://docs.python.org/2/howto/descripto...
[__slots__]: http://docs.python.org/2/reference/datam...
[here]: http://www.python.org/download/releases/.../

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #class #oop #types #newstyleclass

#avk47