[Python-3000] PEP 3113 transition plan
collinw at gmail.com
Wed Mar 7 17:05:10 CET 2007
On 3/7/07, Jim Jewett <jimjjewett at gmail.com> wrote:
> On Tue, 6 Mar 2007, Collin Winter wrote:
> > I can give you warnings on the following items,
> > - global assignments to "next".
> > - global definitions of a "next" function.
> > - global imports of anything named "next".
> > - assignments to "__builtin__.next".
> How hard would it be to warn about any assignment to next, even in
> nested functions?
> def f():
> def next():
> def g():
Not hard at all. It's actually easier than warning about module-level
More information about the Python-3000