[Twisted-Python] python properties in twisted don't work

Tristan Seligmann mithrandi at mithrandi.net
Thu Dec 18 15:06:50 EST 2008

* Alec Flett <alecf at metaweb.com> [2008-12-18 11:03:48 -0800]:

> On Dec 18, 2008, at 6:04 AM, Drew Smathers wrote:
>> Protocol is an old-style class - doesn't inherit from object - so
>> property won't work in that context.  This won't be a problem in
>> python 3 - old-style/new-style classes are consolidated.
> Is there any interest in adding 'object' to some of the core classes  
> like Deferred, in a future release of Twisted? It would help with some  
> debugging/logging (because there's better introspection)

The proble with doing this is that it is a backwards-incompatible change;
doing this in a way that would comply with Twisted's backwards
compatibility policy would be somewhat awkward:


What sort of better introspection are you talking about?
mithrandi, i Ainil en-Balandor, a faer Ambar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20081218/62279a59/attachment.pgp 

More information about the Twisted-Python mailing list