Class Variable Access and Assignment
Stefan Arentz
stefan.arentz at gmail.com
Fri Nov 4 05:15:33 EST 2005
Paul Rubin <http://phr.cx@NOSPAM.invalid> writes:
> Stefan Arentz <stefan.arentz at gmail.com> writes:
> > > Would it be too much to ask that in a line like.
> > > x = x + 1.
> > > both x's would resolve to the same namespace?
> > ...
> > Consider changing the semantics of what you are proposing and
> > think about all those Python projects that will break because they
> > depend on the above behaviour and even take advantage of it.
>
> Are you seriously saying there's lots of Python projects that would
> break if this particular weirdness were fixed?
I have no numbers of course. But, why is this a weirdness?
S.
More information about the Python-list
mailing list