import * is not allowed ??

Miki miki.tebeka at gmail.com
Tue Aug 14 02:42:39 CEST 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