efine behavior for its classes. I'm using that quite
a bit.
--
Christian Tanzerhttp://www.c-tanzer.at/
___
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
U
true but doesn't matter (which is the beauty of super).
--
Christian Tanzerhttp://www.c-tanzer.at/
___
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http:/
7;t have time to really study Phillip's PEP but I've followed
the GF saga over the months and I'd be very happy if GF's were
promoted to be a core feature of Python!
--
Christian Tanzerhttp://www.c-tanzer.at/
_
ssion that it is already gone?
AFAIU, you'll still be able to say:
for k, v in dict.values() :
whatever_needs_to_be_done(k, v)
or
x, y = some_tuple
And I hope that's going to stay...
--
Christian Tanzer
;t use tuple parameter unpacking anyway.
Unfortunately, I use it quite a bit with lambda. I shudder at the
thought how those are going to look without tuple unpacking.
FWIW, I always liked the `parameter passing is assignment` semantics
of Python. I sure hope nobody is going to start a c
The shorthand form does not allow multiple names.
As you allow
nonlocal x, y, z
and
x, y, z = 1, 2, 3
is legal Python (and does the right thing), why not allow
nonlocal x, y, z = 1, 2, 3
too?
That's one less rule needed to be learned and e
the word is already confusing for some
people. But that confusion usually doesn't last long and neither would
the proposed reinterpretation's, IMHO.
OTOH, having `global` and `nonlocal` mean the same thing for
module-bound variables violates TOOWTDI.
--
Christian Tanzer
"Bob Ippolito" <[EMAIL PROTECTED]> wrote:
> On 9/22/06, Thomas Heller <[EMAIL PROTECTED]> wrote:
> > Bob Ippolito schrieb:
> > > On 9/22/06, Fred L. Drake, Jr. <[EMAIL PROTECTED]> wrote:
> > >> On Friday 22 September 2006 13:05, Christi
with Python's spirit of
> "we're all consenting adults".
It is useful in some situations, though. In particular, I use a
metaclass that sets `__super` to the right value. This wouldn't work
without name mangling.
--
Christian
(not by Python at least):
Python 2.4.2 (#1, May 30 2006, 13:47:24)
[GCC 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> "%3.3s" % "a
10 matches
Mail list logo