Filipe Laíns <la...@riseup.net> added the comment:

Directories are not resources, the reason it previously worked was purely 
accidental.

I assume you already found a solution in 
https://github.com/python/importlib_resources/issues/85, which would be

importlib.resources.files(__package__) / 'dir'

Can this be closed then?

----------
nosy: +FFY00

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44162>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to