Re: __new__ woes with list

2008-11-21 Thread Arnaud Delobelle
macaronikazoo <[EMAIL PROTECTED]> writes: > ok thansk - i will search again. i did try searching but didn't find > anything relevant... Here's a link to the thread on google groups: http://groups.google.com/group/comp.lang.python/browse_thread/thread/7aff4eabc6182858 Unfortunately two threads

Re: __new__ woes with list

2008-11-21 Thread macaronikazoo
ok thansk - i will search again. i did try searching but didn't find anything relevant... -- http://mail.python.org/mailman/listinfo/python-list

Re: __new__ woes with list

2008-11-21 Thread Arnaud Delobelle
macaronikazoo <[EMAIL PROTECTED]> writes: > i'm having a hell of a time getting this to work. basically I want to > be able to instantiate an object using either a list, or a string, but > the class inherits from list. > > if the class is instantiated with a string, then run a method over it > to

__new__ woes with list

2008-11-21 Thread macaronikazoo
i'm having a hell of a time getting this to work. basically I want to be able to instantiate an object using either a list, or a string, but the class inherits from list. if the class is instantiated with a string, then run a method over it to tokenize it in a meaningful way. so how come this do