Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-116608: Bring back importlib.resources functional API#116609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
encukou commented Mar 11, 2024 • edited by github-actions bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by github-actions bot
Uh oh!
There was an error while loading. Please reload this page.
hroncok commented Apr 5, 2024
I would really appreciate it if this landed in 3.13.0a6. |
rgommers commented Apr 5, 2024
+1 me too. This will allow building scipy, matplotlib, scikit-learn, etc. without patching the build system. |
encukou commented Apr 5, 2024
Let's put it in then. |
bedevere-bot commented Apr 5, 2024
|
bedevere-bot commented Apr 5, 2024
|
bedevere-bot commented Apr 5, 2024
|
bedevere-bot commented Apr 5, 2024
|
bedevere-bot commented Apr 5, 2024
|
bedevere-bot commented Apr 5, 2024
|
bedevere-bot commented Apr 5, 2024
|
bedevere-bot commented Apr 5, 2024
|
bedevere-bot commented Apr 5, 2024
|
bedevere-bot commented Apr 5, 2024
|
bedevere-bot commented Apr 5, 2024
|
bedevere-bot commented Apr 5, 2024
|
bedevere-bot commented Apr 5, 2024
|
… tests To test the `errors` argument, we read a UTF-16 file as UTF-8 with "backslashreplace" error handling. However, the utf-16 codec adds an endian-specific byte-order mark, so on big-endian machines the expectation doesn't match the test file (which was saved on a little-endian machine). Use endswith to ignore the BOM.
… tests To test the `errors` argument, we read a UTF-16 file as UTF-8 with "backslashreplace" error handling. However, the utf-16 codec adds an endian-specific byte-order mark, so on big-endian machines the expectation doesn't match the test file (which was saved on a little-endian machine). Use endswith to ignore the BOM.
…GH-117569) gh-116609: Ignore UTF-16 BOM in importlib.resources._functional tests To test the `errors` argument, we read a UTF-16 file as UTF-8 with "backslashreplace" error handling. However, the utf-16 codec adds an endian-specific byte-order mark, so on big-endian machines the expectation doesn't match the test file (which was saved on a little-endian machine). Use endswith to ignore the BOM.
…dd subdirectory support (pythonGH-116609)
… tests (pythonGH-117569) pythongh-116609: Ignore UTF-16 BOM in importlib.resources._functional tests To test the `errors` argument, we read a UTF-16 file as UTF-8 with "backslashreplace" error handling. However, the utf-16 codec adds an endian-specific byte-order mark, so on big-endian machines the expectation doesn't match the test file (which was saved on a little-endian machine). Use endswith to ignore the BOM.
📚 Documentation preview 📚: https://cpython-previews--116609.org.readthedocs.build/