[x] @eliot_friendly_generator_etc. should probably be private, and it should automatically set the sub-context-factory, unless that turns out to be too tricky (since typically this is done at import time I'm not too worried about performance... but might need a lock.)
[x] Documentation for generators that basically says "don't do yield inside with start_action."
OK, so I guess for this to be merged I'd like:
@eliot_friendly_generator_etc.
should probably be private, and it should automatically set the sub-context-factory, unless that turns out to be too tricky (since typically this is done at import time I'm not too worried about performance... but might need a lock.)yield
insidewith start_action
."Fixes #259.