Greetings!
The next New York City Python Users Group meeting is this Tuesday, Dec.
12th, 6pm at at the Millennium Partners office at 666 Fifth Avenue on the
8th Floor. We welcome all those in the NYC area who are interested in
Python to attend. However, we need a list of first and last names to
Greetings!
The next New York City Python Users Group meeting is this Tuesday, Jan. 9th,
6:30pm at at the Millennium Partners office at 666 Fifth Avenue (53rd St.
and 5th Ave.) on the 8th Floor. We welcome all those in the NYC area who are
interested in Python to attend. However, we need a list of
Greetings!
The next New York City Python Users Group meeting is this Tuesday, May 8th,
6:30pm at at the Millennium Partners office at 666 Fifth Avenue (53rd St.
and 5th Ave.) on the 8th Floor. We welcome all those in the NYC area who are
interested in Python to attend. However, we need a list of f
Yeah!!! One I can actually answer!!!
super() only works on new-style classes - your classes don't have object
anywhere in the inheritance tree so super() isn't going to help..
New-style classes are known as types, old-style classes are known as
classobjs.
Hope this helps,
-jdc
-Original Me
Please be aware that super() has it's own set of gotchas - it's not as clean
as you would hope. For more info: http://fuhm.org/super-harmful/
(I'm not the author, I was referred to this article while struggling with
wxPython and super())
-John Clark
-Original Message---
Pretty sure you can do this:
class A(object):
def m(self):
class B(A):
def m(self):
class C(A):
def m(self):
class D(B,C):
def m(self):
A.m(self)
I don't think you want to try to use super() in this case.
-jdc
-Original Message-
From: [E
>> Pretty sure you can do this:
>>
>> class A(object):
>> def m(self):
>> class B(A):
>> def m(self):
>> class C(A):
>> def m(self):
>> class D(B,C):
>> def m(self):
>> A.m(self)
>>
>> I don't think you want to try to use super() in this case.
>
>That works, but
> Not really. The first grandparent would be the first occurrence in the
list from left to right, which satisfies the requirement that its shortest
path to the current class is 2.
> The only problem: How do I get it?
> Martin
I suppose you could do a
self.__class__.__bases__[0].__bases__[
Greetings!
The next New York City Python Users Group meeting is this Tuesday, April
10th, 6:30pm at at the Millennium Partners office at 666 Fifth Avenue (53rd
St. and 5th Ave.) on the 8th Floor. We welcome all those in the NYC area who
are interested in Python to attend. However, we need a list o
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Clark
Sent: Wednesday, April 04, 2007 3:46 PM
To: python-list@python.org; [EMAIL PROTECTED]; tutor@python.org
Subject: New York City Python Users Group Meeting
Greetings!
The next New York City Python Users Group meeting
Greetings!
The next New York City Python Users Group meeting is this Tuesday, Feb.
13th, 6:30pm at at the Millennium Partners office at 666 Fifth Avenue (53rd
St. and 5th Ave.) on the 8th Floor. We welcome all those in the NYC area who
are interested in Python to attend. However, we need a list of
Please pardon the PSA:
The New York City Python Users Meetup Group is planning on having our
February meeting on
February 12th, from 6:30pm - 8:00pm. For more information, please see:
http://python.meetup.com/172/calendar/7082384/
Anyone in the NYC area interested in using Python, learning m
users group wiki page:
http://www.nycpython.org
Hope to see you there!
-John Clark
--
http://mail.python.org/mailman/listinfo/python-list
13 matches
Mail list logo