On Thu, Dec 31, 2015 at 4:04 AM, Random832 <random...@fastmail.com> wrote: > On Wed, Dec 30, 2015, at 07:50, Chris Angelico wrote: >> I believe that's true, yes. The meaning of "by default" there is that >> "class X: pass" will make an old-style class. All built-in types are >> now new-style classes. > > To be clear, AFAIK, built-in types were never old-style classes - prior > to the introduction of the new type system (i.e. in Python 2.1 and > earlier) they were not classes, and afterwards they were immediately > new-style classes. > -- > https://mail.python.org/mailman/listinfo/python-list
Thanks Random. I wasn't actively using Python until about 2.5ish, and wasn't following python-dev until even more recently, so I didn't keep track of all that. And frankly, old-style classes have just been something I avoid whereever possible. ChrisA -- https://mail.python.org/mailman/listinfo/python-list