Re: [Python-3000] PEP 3115: Actual use cases for odd metaclasses? Alternate syntax.

2007-12-22 Thread Christian Tanzer
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

Re: [Python-3000] PEP 3124 - Overloading, Generic Functions, Interfaces, etc.

2007-05-15 Thread Christian Tanzer
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:/

Re: [Python-3000] PEP 3124 - Overloading, Generic Functions, Interfaces, etc.

2007-05-13 Thread Christian Tanzer
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/ _

Re: [Python-3000] PEP 3113 (Removal of Tuple Parameter Unpacking)

2007-03-05 Thread Christian Tanzer
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

Re: [Python-3000] PEP 3113 (Removal of Tuple Parameter Unpacking)

2007-03-05 Thread 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

Re: [Python-3000] Draft PEP for outer scopes

2006-11-02 Thread Christian Tanzer
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

Re: [Python-3000] Draft PEP for outer scopes

2006-11-02 Thread Christian Tanzer
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

Re: [Python-3000] Removing __var

2006-09-24 Thread 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

Re: [Python-3000] Removing __var

2006-09-22 Thread Christian Tanzer
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

Re: [Python-3000] String formatting: Conversion specifiers

2006-06-07 Thread Christian Tanzer
(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