[Twisted-Python] Re: What is the best way to install Twisted on

Stephen Thorne stephen at thorne.id.au
Sat Jul 15 10:24:09 EDT 2006


On Sat, 15 Jul 2006 15:40:20 +1000, Andrew Bennetts <andrew-twisted at puzzling.org> wrote:
>On Fri, Jul 14, 2006 at 08:32:49AM -0600, Aaron Rustad wrote:
>> Turns out there is a problem with the msn_example.py that is provided
>> under the documentation section of the Words project.
>>
>> The import of msn is:
>>
>> from twisted.protocols import msn
>>
>> but should read:
>>
>> from twisted.words.protocols import msn
>
>While the example should be updated to use the non-deprecated import, there
>seems to be a bug here.  The only difference between these two statements should
>be that the first emits a warning.  They should both work (or not) equally well.

Fixed in trunk, see:

http://twistedmatrix.com/trac/ticket/1637
http://twistedmatrix.com/trac/changeset/17455

Regards,
Stephen Thorne.




More information about the Twisted-Python mailing list