On Sat, Aug 18, 2018 at 2:44 PM, Chris Jerdonek
<chris.jerdo...@gmail.com> wrote:
> The kind of alternative I had in mind for a neutral location is
> setting an attribute with an agreed upon name on a module in the
> standard lib, perhaps something like
> `contextvars.current_async_library_cvar` to use your naming. This is
> analogous to agreeing on a file name to store information of a certain
> kind in a repository root, like .travis.yml, package.json, or
> pyproject.toml. It's light-weight and doesn't require any
> infrastructure or tying to a particular package on PyPI.

Yeah, it'd be possible. I guess it just didn't seem worth the extra
complication.

-n

-- 
Nathaniel J. Smith -- https://vorpus.org
_______________________________________________
Async-sig mailing list
Async-sig@python.org
https://mail.python.org/mailman/listinfo/async-sig
Code of Conduct: https://www.python.org/psf/codeofconduct/

Reply via email to