December 2000
Intermediate to advanced
816 pages
16h 57m
English
Code
Frame
Traceback
Slice
Ellipsis
Xrange
We will briefly introduce these internal types here. The general application programmer would typically not interact with these objects directly, but we include them here for completeness. Please refer to the source code or Python internal and online documentation for more information.
In case you were wondering about exceptions, they are now implemented as classes not types. In older versions of Python, exceptions were implemented as strings.
Code objects are executable pieces of Python source that are byte-compiled, usually as return values from calling the compile() built-in function. Such objects are appropriate for execution by either exec or by the eval() built-in ...
Read now
Unlock full access