Python from Wise Guy's Viewpoint
Frode Vatvedt Fjeld
frodef at cs.uit.no
Sun Oct 19 13:38:40 EDT 2003
John Thingstad <john.thingstad at chello.no> writes:
> [..] Functions are internally delt with using dictionaies. The
> bytecode compiler gives it a ID and the look up is done using a
> dictionary. Removing the function from the dictionary removes the
> function. (pythonese for hash-table)
So to get from the ID to the bytecode, you go through a dictionary?
And the mapping from name to ID happens perhaps when the caller is
bytecode-compiled?
--
Frode Vatvedt Fjeld
More information about the Python-list
mailing list