[Twisted-Python] what is a non-class class?

2014-09-01 Thread Wolfgang Rohdewald
>From spread/jelly.py in _unjelly_method: -if type(im_class) is not types.ClassType: raise InsecureJelly("Method found with non-class class.") Same problem in _unjelly_instance What is a non-class class or rather what sort of types is meant to be insecure? Suggestions for a

Re: [Twisted-Python] Using spawnProcess

2014-09-01 Thread exarkun
On 12:24 pm, grigorescu_cipr...@yahoo.com wrote: Hello, I have wrote a custom protocol(inherit from SMTPClient) and factory(inherit from ClientFactory) in order to send emails from multiple ips(multiple connections, factories). Now I want to run this pice of code multiple times using spawnPro

Re: [Twisted-Python] jelly with new-style classes: method references are not resolved

2014-09-01 Thread exarkun
On 12:31 pm, wolfgang@rohdewald.de wrote: Am Montag, 1. September 2014, 11:57:22 schrieb exar...@twistedmatrix.com: >Why has this fix never been included? It is necessary for porting to >Python 3. Perhaps because the ticket was never given the "review" keyword - so no one ever noticed tha

Re: [Twisted-Python] jelly with new-style classes: method references are not resolved

2014-09-01 Thread Wolfgang Rohdewald
Am Montag, 1. September 2014, 11:57:22 schrieb exar...@twistedmatrix.com: > >Why has this fix never been included? It is necessary for porting to > >Python 3. > > Perhaps because the ticket was never given the "review" keyword - so no > one ever noticed that there was a potential fix attached to

[Twisted-Python] Using spawnProcess

2014-09-01 Thread Grigorescu Ciprian
Hello, I have wrote a custom protocol(inherit from SMTPClient) and factory(inherit from ClientFactory) in order to send emails from multiple ips(multiple connections, factories). Now I want to run this pice of code multiple times using spawnProcess to send emails simultaneous, each process havi

Re: [Twisted-Python] jelly with new-style classes: method references are not resolved

2014-09-01 Thread exarkun
On 11:39 am, wolfgang@rohdewald.de wrote: Hi, while trying to port jelly to Python 3 (banana tests already pass with Python 3), I found a bug in jelly. It has already been reported 3 years ago with ticket 4935. And there is a fix attached to that ticket. This fix resolves the problem

[Twisted-Python] jelly with new-style classes: method references are not resolved

2014-09-01 Thread Wolfgang Rohdewald
Hi, while trying to port jelly to Python 3 (banana tests already pass with Python 3), I found a bug in jelly. It has already been reported 3 years ago with ticket 4935. And there is a fix attached to that ticket. This fix resolves the problem for me. Why has this fix never been included? It