On Mon, Dec 29, 2014 at 12:58 AM, Skip Montanaro
<skip.montan...@gmail.com> wrote:
> (Ignore the "autoloading" message. I use an autoloader in interactive
> mode which comes in handy when I forget to import a module, as I did
> here.)

We were discussing something along these lines a while ago, and I
never saw anything truly satisfactory - there's no easy way to handle
a missing name by returning a value (comparably to __getattr__), you
have to catch it and then try to re-execute the failing code, which
isn't perfect. How does yours work? Or was it one of the ones that was
mentioned last time?

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to