[issue46026] importlib.resources.read_text() raises FileNotFound

2021-12-09 Thread Zac Hatfield-Dodds
Zac Hatfield-Dodds added the comment: This may have appeared in the wild, via the backport, in https://github.com/Nuitka/Nuitka/issues/1274 and https://github.com/Nuitka/Nuitka/commit/ffe861cfe972c6bf19f9eea1ff95e35d0e4240b4 -- ___ Python tracker

[issue46026] importlib.resources.read_text() raises FileNotFound

2021-12-09 Thread Zac Hatfield-Dodds
Change by Zac Hatfield-Dodds : -- nosy: +brett.cannon, jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46026] importlib.resources.read_text() raises FileNotFound

2021-12-09 Thread Zac Hatfield-Dodds
New submission from Zac Hatfield-Dodds : Testing Hypothesis with Python 3.11.0a3, I've triggered a frustrating regression in importlib.resources: # Both work in Python 3.9 and 3.10, but both fail in 3.11.0a3 from importlib.resources import files, read_text read_text("hypothesis.vendor",