Question on Standard Types

Aahz aahz at pythoncraft.com
Sun Sep 7 19:35:23 CEST 2003


In article <mailman.1062951612.13844.python-list at python.org>,
hostmaster  <alpot at mylinuxsite.com> wrote:
>
>I'm quite new to Python and I am reading this book called 'Core Python
>Programming' by Wesley J. Chun.  I think that this is not a new book but
>I believe some of the points are still valid.
>
>There is this part in the book where it says:  
>
>"In Python, standard types are not classes, so creating integers and
>strings does not involve instantiation".

Actually, this bit *is* definitely out of date; Python 2.2 introduced
new-style classes, and all the standard types are now new-style classes.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

This is Python.  We don't care much about theory, except where it intersects 
with useful practice.  --Aahz




More information about the Python-list mailing list