CONSTRUCT - New/Old Style Classes, build-in/extension types

Steve Holden steve at holdenweb.com
Fri Sep 22 11:40:01 EDT 2006


Ilias Lazaridis wrote:
> Fredrik Lundh wrote:
> 
>>Ilias Lazaridis wrote:
>>
>>
>>>note: I am aware about search engines.
>>
>>but you're incapable of using them, or ?
> 
> 
> -
> 
> 
>>>I ask for documentation which other developers have found useful
>>
>>most recent Python books contains good discussions of the things you're
>>asking for.  maybe you should buy a book ?
> 
> 
> I'm interested in online resources, experiences etc..
> 
> Maybe you can clarify some things (for me and for readers):
> 
> Do I need old style classes?
> 
No, not for new code.

> Does the python standard library use old style classes?
> 
Yes, because it was easier to leave them as they were than risk 
introducing incompatibilities.

> Have those old style classes any benefits?
> 
> ..
> 
No.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb       http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden




More information about the Python-list mailing list