[Python-Dev] DeprecationWarning: assignment shadows builtin

Neil Schemenauer nas-python@python.ca
Wed, 16 Jul 2003 14:24:27 -0700


Guido van Rossum wrote:
> But this is yet another situation where this warning is issued but it
> really shouldn't be issued.

Yup, and I'm sure there are more.

> I'm beginning to think that perhaps we should make it a
> PendingDeprecationWarning instead?  That should be simple even this
> close to the 2.3c1 release.

Changing the warning class or removing it completely should be no
problem.

  Neil