Re: [Twisted-Python] strange bug with... something :)

2010-08-06 Thread Alan Franzoni
On 8/6/10 5:15 AM, Сергей Магафуров wrote: [cut] I'd like to help you, but I don't really get it. First: - What are you trying to do? - What is your expected outcome? - What is, on the contrary your program's output? Second: your example is too long and is not executable (I need to figure out

[Twisted-Python] strange bug with... something :)

2010-08-05 Thread Сергей Магафуров
Example code 1 {{{ class Example(object): def __init__(self, connection): self.connection = connection self.counter = 0 self.requests = {} def generate_request_id(self): self.counter += 1 return self.counter def request(self, data, time