import * is not allowed ??

Miki miki.tebeka at gmail.com
Mon Aug 13 20:42:39 EDT 2007


Hello Stef,

> can anyone explain a little bit more what this error message means:
>
>   import * is not allowed in function 'JAL_MAIN_RUN' because it contains
> a nested function with free variables (JAL_simulation_file.py, line 22)
>
> what are "free variables" ?
http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_idx_590

HTH,
--
Miki <miki.tebeka at gmail.com>
http://pythonwise.blogspot.com




More information about the Python-list mailing list