Fatal Python error: unknown scope for...
Mark Hammond
mhammond at skippinet.com.au
Tue Aug 5 22:53:15 EDT 2003
Jeff Epler wrote:
> Confirmed in a local build (from CVS?), "Python 2.3b1 (#16, May 19 2003,
> 10:22:28)". I would swear this was discussed at some point, so there's
> a small chance it was fixed in 2.3. In any case, it's only happening in
> the presence of another (syntax) error so it's not as bad as it could be
> (but still bad for eg "restricted execution" environments, which 2.3
> tells us don't work anyway)
>
> The following program shows a similar error (it's about the simplest
> program I could devise with the problem):
> def g(a=None, b, c=lambda: None): g
> """Fatal Python error: unknown scope for g in g(1) in marek.py"""
Yep, I still get this with current CVS Python. You should open a bug.
Mark.
More information about the Python-list
mailing list