[Python-Dev] Python 2.1.1

Thomas Wouters thomas@xs4all.net
Thu, 12 Jul 2001 18:33:06 +0200

On Thu, Jul 12, 2001 at 12:26:50PM -0400, Jeremy Hylton wrote:
> There's also a nested scopes bug, related to classes that use the same free
> variable in several classes.  Evan Simpson said he posted a SF report about
> it, but I can't find it.  I may be able to look into it. I'd rather not be
> on the hook for it, but I'm not sure anyone else understands the code :-(.

As far as I could determine, that bug is the one you fixed shortly after

compile.c revision 2.198
date: 2001/04/27 02:29:40;  author: jhylton;  state: Exp;  lines: +20 -6
Fix 2.1 nested scopes crash reported by Evan Simpson

The new test case demonstrates the bug.  Be more careful in
symtable_resolve_free() to add a var to cells or frees only if it
won't be added under some other rule.

XXX Add new assertion that will catch this bug.

I couldn't reproduce his bugreport using 2.2/2.1.1-with-this-fix, but I
could with 2.1-final, so I mentioned that, marked it fixed and closed it.

Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!