From: Nicholas Wieland Date: 2005-01-27T22:25:54+09:00 Subject: Re: New user questions - Ben Giddings : >> IMHO one of the major advantages of Ruby is that it's OO all over while >> Perl's OO was retrofitted. > > Does anybody know offhand if Python's OO was retrofitted? I used Python > back in '97, but don't really remember the details too well. Python's > OO sure has that "tacked on" feel, what with the underscores and "self" > parameters and all, but maybe it was just a really odd design decision? In Python "everything is an object" from release 2.2 and the introduction of the new object model (PEP 252 and PEP 253). AFAIK not even the std lib has been ported to using class foo (object), if I remind it correctly the shelve library for example doesn't use it. The old object model is mantained for retrocompatibility, including all the stdlib modules that was used for subclassing strings, dicts et al. HTH, ngw -- checking for life_signs in -lKenny... no Oh my god, make (1) killed Kenny ! You, bastards ! nicholas_wieland-at-yahoo-dot-it