tomprince/alot — comment on commit 864025133045708b699970c21618a7385f233125
File: alot/helper.py line 255
By tomprince:

_EverythingGetter is copied from the implementation of getProcessOuputAndValue from http://twistedmatrix.com/documents/current/api/twisted.internet.utils.html
extended to write to stdin.

Certainly this code isn't the nice implementation of this. When I was writing this I was more interested in the affect on the api, and the calling code.

Looking in more detail, there is a ticket to deprecate t.i.utils (although it hasn't been yet), so copy the code mostly verbatim isn't a good idea.