[Twisted-Python] Twisted and new-style classes

2013-07-15 Thread Laurens Van Houtven
Hi! Maciej from the PyPy team has graciously offered to upgrade all of Twisted's existing old-style classes to new-style. The reason this is now also a mailing list thread is because it may, potentially, break some things, and we want people to have a heads up. Of course, Twisted will never break

Re: [Twisted-Python] Setting socket options before connect

2013-07-15 Thread exarkun
On 01:01 am, gl...@twistedmatrix.com wrote: On Jul 12, 2013, at 5:09 AM, exar...@twistedmatrix.com wrote: On 10:42 am, p.may...@imperial.ac.uk wrote: On 12/07/13 11:34, Itamar Turner-Trauring wrote: Subclass twisted.internet.tcp.Client, override createInternetSocket() so it calls setsockopt(

Re: [Twisted-Python] Setting socket options before connect

2013-07-15 Thread Glyph
On Jul 12, 2013, at 5:09 AM, exar...@twistedmatrix.com wrote: > On 10:42 am, p.may...@imperial.ac.uk wrote: >> On 12/07/13 11:34, Itamar Turner-Trauring wrote: >>> Subclass twisted.internet.tcp.Client, override createInternetSocket() so >>> it calls setsockopt() on the socket after you've called

Re: [Twisted-Python] Python 3: bytes vs. str in twisted.python.filepath

2013-07-15 Thread Glyph
First off, hi Harry! I am super glad that someone has taken an interest in this. Please let me know if I can be helpful in your effort to fix this. FilePath totally has the right sort of shape to handle all these problems very gracefully, but its current implementation is (as you have noticed