On Fri, 28 Mar 2014 10:45:01 -0400, Tres Seaver <tseaver at palladion.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 03/27/2014 09:16 PM, Josiah Carlson wrote: > > But here's the thing: I can build enough using asyncio in 30-40 lines > > of Python to offer something like the above API. The problem is that > > it really has no natural home. It uses asyncio, so makes no sense to > > put in subprocess. It doesn't fit the typical asyncio behavior, so > > doesn't make sense to put in asyncio. The required functionality isn't > > big enough to warrant a submodule anywhere. Heck, it's even way too > > small to toss into an external PyPI module. > > Seems perfect for the Cheesehop to me. Indeed. I heard a rumor[*] that there's at least one package in the cheeseshop that consists of a one-liner. On the other hand, we have multiprocessing examples in the docs that are longer than that, so it sounds like a great asyncio example to me, especially given that Victor says we don't have enough examples yet. --David [*] https://pypi.python.org/pypi/first It's not *actually* a one liner, but you could write it as one, and the actual code isn't much heavier :)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4