Una excepción es un objeto de Python que representa un error.
De hecho se puede imprimir cualquier objeto de Python con el comando print.
Este módulo devuelve un objeto de Python como una cadena de texto, permitiendo que se añada al guardado del archivo.
That module turns a python object as a string, allowing it to be added to the saved file.
Provee de funciones que pueden serializar casi cualquier objeto de Python, incluyendo objetos autoreferidos (self-referential).
It provides functions that can serialize almost any Python object, including self-referential objects.
Desgraciadamente, la cuenta de referencias extra lleva a la situación en la que, como bueno, el objeto de Python tendrá un contador de referencias excesivo, y como malo, nunca se liberará esa memoria incluso cuando ya no se usa.
Unfortunately the extra reference counts lead to the situation that, at best, the Python object will have an excessive reference count and, at worst, it will never be freed even when it is not being used.
Puesto que se puede crear e inicializar un TreeIter en código en C y que permanezca en la pila, no es posible saber cuándo se ha destruido el TreeIter y ya no se usa la referencia al objeto de Python.
Since the TreeIter may be created and initialized in C code and live on the stack, it's not possible to know when the TreeIter has been destroyed and the Python object reference is no longer being used.
Si "leak-references" se establece a FALSE entonces el contador de referencias del objeto de Python no se incrementará cuando se referencia en un TreeIter.
If "leak-references" is set to FALSE, the reference count of the Python object will not be incremented when referenced in a TreeIter.
Por lo tanto, el objeto de Python referenciado en un TreeIter incrementa por defecto su cuenta de referencias, pero no se decrementa cuando se destruye el TreeIter.
Therefore, the Python object referenced in a TreeIter has by default its reference count incremented but it is not decremented when the TreeIter is destroyed.
Los elementos de una lista no tienen que ser del mismo tipo; pueden ser de cualquier tipo de objeto de Python.
The elements of a list do not have to be of the same type; they can be any type of Python object.
Todo objeto de Python es accesible a través de un módulo llamado gluon y ese es el tema de capítulos posteriores.
All of the web2py objects are accessible via a module called gluon, and that is the subject of later chapters.