Re: access to base class __init__

2008-03-12 Thread Sam
Dennis Lee Bieber wrote: On Thu, 06 Mar 2008 22:35:18 -0500, Sam [EMAIL PROTECTED] declaimed the following in comp.lang.python: ['line 1', 'line 2', 'embedded', 'line', 'something'] sample=line 1\rline 2\rembedded\nline\rsomething\r sample.splitlines() ['line 1', 'line 2', 'embedded',

Re: access to base class __init__

2008-03-06 Thread Sam
Dennis Lee Bieber wrote: I'm not sure why you need to subclass from threading.Thread if all the thread control is being done internal to this class. Subclassing means being able to do things like: Well it was the first thing that occured to me how to have private data for each thread (

access to base class __init__

2008-03-05 Thread sambo q
I got myself in jam trying to be too fancy with threading.Thread Docs say / remind to call the base __init__ but I can't fighure out how. --- def main() . ls.listen(5) key = ' ' #while key != EXITCHARCTER: while stop_serving == False: cs, raddr

Re: access to base class __init__

2008-03-05 Thread castironpi
On Mar 5, 6:09 pm, sambo q [EMAIL PROTECTED] wrote: I got myself in jam trying to be too fancy with  threading.Thread Docs say / remind to call the base __init__ but I can't fighure out how. --- def main() .     ls.listen(5)     key = ' ' #    while key !=

Re: access to base class __init__

2008-03-05 Thread castironpi
On Mar 5, 6:09 pm, sambo q [EMAIL PROTECTED] wrote: I got myself in jam trying to be too fancy with  threading.Thread Docs say / remind to call the base __init__ but I can't fighure out how. --- def main() .     ls.listen(5)     key = ' ' #    while key !=