[Twisted-Python] txws.py websocket and Python 2.4

matusis at yahoo.com matusis at yahoo.com
Thu Apr 12 18:16:55 EDT 2012

I do not quite know the most recent status of txws.py, whether it is being
merged to Twisted or not. 

But I noticed that it has it has two incompatibilities with Python 2.4:

1.       from hashlib import md5, sha1

2.       protocol = "wss" if self.isSecure() else "ws"


After fixing those, it works on 2.4.

Would it make sense to make that change on github?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20120412/deef1462/attachment.htm 

More information about the Twisted-Python mailing list