[Python-Dev] [Very Long 23kb] List of Patches to Go in 2.0.1

Michael Hudson mwh21@cam.ac.uk
28 Mar 2001 19:18:28 +0100


Moshe Zadka <moshez@zadka.site.co.il> writes:

> After labouring over the list of log messages for 2-3 days, I finally
> have a tentative list of changes. I present it as a list of checkin
> messages, complete with the versions. Sometimes I concatenated several
> consecutive checkins into one -- "I fixed the bug", "oops, typo last
> fix" and similar.
> 
> Please go over the list and see if there's anything you feel should
> not go.

I think there are some that don't apply to 2.0.1:

> Python/pythonrun.c, 2.128->2.129
> Fix memory leak with SyntaxError.  (The DECREF was originally hidden
> inside a piece of code that was deemed reduntant; the DECREF was
> unfortunately *not* redundant!)

and

> Python/compile.c, 2.150->2.151
> Fix bug reported by Ka-Ping Yee: The compiler botched parsing function
> parameters that contained both anonymous tuples and *arg or **arg. Ex:
> def f(a, (b, c), *d): pass
> 
> Fix the symtable_params() to generate names in the right order for
> co_varnames slot of code object.  Consider *arg and **arg before the
> "complex" names introduced by anonymous tuples.

aren't meaningful without the nested scopes stuff.  But I guess you'll
notice pretty quickly if I'm right...

Otherwise, general encouragement!  Please keep it up.

Cheers,
M.

-- 
  languages shape the way we think, or don't.
                                        -- Erik Naggum, comp.lang.lisp