statement level resumable exception

Chris Rebert clp2 at rebertia.com
Thu Jan 20 13:58:55 EST 2011


On Thu, Jan 20, 2011 at 9:32 AM, ilejn <ilja.golshtein at gmail.com> wrote:
> Hello!
>
> I have a sequence of a function calls. Basically it looks like
>
> f(arg1)
> f(arg2)
> ...
> f(argN)
>
> though real arguments are complex multilayer lists.
>
> The problem is some arguments are not known and I get NameError
> exceptions.

Why aren't they known? It's a very bad code smell to have possibly
completely-undefined variables.

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list