python under the hood

John Salerno johnjsal at
Fri Oct 20 17:02:37 CEST 2006

tpochep at wrote:
> Hello.
> Is there any good information about python's internals and semantic? I
> mean "under the hood".
> For example, I want to understant what do these strings
> x = 10
> y = 10
> x = 20
> mean (memory allocation for object? ctors? etc.)
> Unfortynatly, I'm too lazy to read python's source code :) (and I
> guess, it's not very easy :) )

I found both Learning Python and Python in a Nutshell (both O'Reilly) to 
be really good at covering some of the details of what's happening in 
the language. Assuming you want to read whole books about it! :)

More information about the Python-list mailing list