absolute namespace for callbacks?

Werner Schiendl ws-news at gmx.at
Tue Mar 6 11:18:41 EST 2001


What's the matter?

You do not pass the name, but a reference to the function
(the function is an object for python like anything else)
It does not matter where the function is defined...

or did I miss anything in your post?

hth
werner

Bruce Edge <bedge at troikanetworks.com> wrote in message
news:3AA50AFB.83C7459F at troikanetworks.com...
> Tcl has a func to get a fully qualified namespace from a context. This
> is essential for registering callback functions.
> How does one register a callback in Python, when the callback func
> exists in a different namespace?
>
> Is there any method to get the current absolute namespace?
>
> Thanks, Bruce.
>





More information about the Python-list mailing list