Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:
> We've basically agreed that you should be able to load resources from > subdirectories that aren't packages. It turns out to be not a simple change > in importlib.resources, but contributions are welcome! In case anyone is interested, I've already done this in distlib.resources: https://distlib.readthedocs.io/en/latest/reference.html#the-distlib-resources-package Possibly a similar approach could be used. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37683> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com