Am 01.11.2011 17:13, schrieb Miki Tebeka:
> MKTest.getObj(data[0]) will return the same object on every call(with the
> same data that was initialized 1'st time). Any Daten parameter after the 1'st
> call is ignored.
Not true!
The singleton object has nothing todo. Here one more example for you
On 01/11/2011 15:07, MrSmile wrote:
Hi people!
I have asked myself why I am not capable sending 2 messages a time to a
Socketserver. Why is that?!
Here the Server:
import SocketServer
from ast import literal_eval
class MKTest(object):
DSX = []
MKTestInst = None
def __init__(se
MKTest.getObj(data[0]) will return the same object on every call(with the same
data that was initialized 1'st time). Any Daten parameter after the 1'st call
is ignored.
--
http://mail.python.org/mailman/listinfo/python-list
Hi people!
I have asked myself why I am not capable sending 2 messages a time to a
Socketserver. Why is that?!
Here the Server:
import SocketServer
from ast import literal_eval
class MKTest(object):
DSX = []
MKTestInst = None
def __init__(self,Daten):
MKTest.DSX.append(Date