Re: [Twisted-Python] Crochet 1.4.0: use Twisted anywhere!

2015-05-06 Thread Glyph
> On May 6, 2015, at 6:03 PM, Itamar Turner-Trauring > wrote: > > New in 1.4.0 is Python 3.4 support as well as support for using Crochet with > uWSGI, and additional documentation on workarounds for various limitations of > Crochet. Woohoo! Exciting stuff! Every new release of Crochet squ

[Twisted-Python] Crochet 1.4.0: use Twisted anywhere!

2015-05-06 Thread Itamar Turner-Trauring
Crochet is an MIT-licensed library that makes it easier to use Twisted from regular blocking code: from __future__ import print_function from twisted.names import client from crochet import setup, wait_for setup() @wait_for(timeout=5.0) def gethostbyname(name): """Use the Twisted DNS librar