[issue39791] New `files()` api from importlib_resources.

2021-02-21 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue39791] New `files()` api from importlib_resources.

2021-02-21 Thread Neil Schemenauer
Change by Neil Schemenauer : -- nosy: +nascheme nosy_count: 9.0 -> 10.0 pull_requests: +23392 pull_request: https://github.com/python/cpython/pull/24612 ___ Python tracker ___

[issue39791] New `files()` api from importlib_resources.

2021-02-21 Thread Neil Schemenauer
Change by Neil Schemenauer : -- nosy: +nascheme, nascheme nosy_count: 9.0 -> 10.0 pull_requests: +23392, 23393 pull_request: https://github.com/python/cpython/pull/24612 ___ Python tracker ___

[issue39791] New `files()` api from importlib_resources.

2020-12-09 Thread Jason R. Coombs
Jason R. Coombs added the comment: This issue was implemented, just not as fully as I'd have hoped. Still lacking is native support for .files on the built-in package providers and removing the legacy APIs or at least configuring them to rely on the files API, but as far as supplying the fil

[issue39791] New `files()` api from importlib_resources.

2020-12-08 Thread Shantanu
Change by Shantanu : -- nosy: +hauntsaninja nosy_count: 8.0 -> 9.0 pull_requests: +22577 pull_request: https://github.com/python/cpython/pull/23715 ___ Python tracker ___ _

[issue39791] New `files()` api from importlib_resources.

2020-06-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20118 pull_request: https://github.com/python/cpython/pull/20938 ___ Python tracker ___ __

[issue39791] New `files()` api from importlib_resources.

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: > bpo-39791 native hooks for importlib.resources.files (GH-20576) > https://github.com/python/cpython/commit/843c27765652e2322011fb3e5d88f4837de38c06 This change introduced bpo-41007 "test_importlib logs ResourceWarning: test_path.CommonTests.test_importing_m

[issue39791] New `files()` api from importlib_resources.

2020-06-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ce5e6f098f8a270e50b989baa75765584573706b by Łukasz Langa in branch '3.9': [3.9] bpo-40924: Revert "bpo-39791 native hooks for importlib.resources.files (GH-20576)" (#20760) https://github.com/python/cpython/commit/ce5e6f098f8a270e50b989baa75765584

[issue39791] New `files()` api from importlib_resources.

2020-06-09 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 6.0 -> 7.0 pull_requests: +19960 pull_request: https://github.com/python/cpython/pull/20760 ___ Python tracker ___ __

[issue39791] New `files()` api from importlib_resources.

2020-06-08 Thread Ned Deily
Ned Deily added the comment: Note that the most recent commits have introduced a critical regression in importlib.resources.path() that breaks the certifi package from PyPI and presumably other users of path(). See Issue40924. -- nosy: +ned.deily ___

[issue39791] New `files()` api from importlib_resources.

2020-06-07 Thread miss-islington
miss-islington added the comment: New changeset 9cf1be46e3692d565461afd3afa326d124d743dd by Miss Islington (bot) in branch '3.9': bpo-39791 native hooks for importlib.resources.files (GH-20576) https://github.com/python/cpython/commit/9cf1be46e3692d565461afd3afa326d124d743dd -- ___

[issue39791] New `files()` api from importlib_resources.

2020-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +19918 pull_request: https://github.com/python/cpython/pull/20703 ___ Python tracker ___ __

[issue39791] New `files()` api from importlib_resources.

2020-06-07 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 843c27765652e2322011fb3e5d88f4837de38c06 by Jason R. Coombs in branch 'master': bpo-39791 native hooks for importlib.resources.files (GH-20576) https://github.com/python/cpython/commit/843c27765652e2322011fb3e5d88f4837de38c06 --

[issue39791] New `files()` api from importlib_resources.

2020-06-07 Thread miss-islington
miss-islington added the comment: New changeset 71f501698d64af6463246bc6efdbbf1b85616102 by Miss Islington (bot) in branch '3.9': bpo-39791: Support file systems that cannot support non-ascii filenames (skipping tests in that case). (GH-20681) https://github.com/python/cpython/commit/71f5016

[issue39791] New `files()` api from importlib_resources.

2020-06-07 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 2efe18bf277dd0f38a1d248ae6bdd30947c26880 by Jason R. Coombs in branch 'master': bpo-39791: Support file systems that cannot support non-ascii filenames (skipping tests in that case). (#20681) https://github.com/python/cpython/commit/2efe18bf27

[issue39791] New `files()` api from importlib_resources.

2020-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +19910 pull_request: https://github.com/python/cpython/pull/20695 ___ Python tracker ___ __

[issue39791] New `files()` api from importlib_resources.

2020-06-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: See GH-20681 for a proposed fix. I've scheduled the build bots to run the patch. Will build bots prove the fix? If not, can you test the patch in the same environment where it was discovered? -- ___ Python tracke

[issue39791] New `files()` api from importlib_resources.

2020-06-06 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +19894 pull_request: https://github.com/python/cpython/pull/20681 ___ Python tracker ___ _

[issue39791] New `files()` api from importlib_resources.

2020-06-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks for the report Michael. I'm trying to figure out the best way to address the issue. That test is shared with importlib_metadata, so needs to run without CPython's test suite fixtures, such as the ones that generate non-ascii filenames. I'm tempted to

[issue39791] New `files()` api from importlib_resources.

2020-06-06 Thread Michael Felt
Michael Felt added the comment: The 'fancy' file name breaks on latin-1 character set. aixtools@gcc119:[/home/aixtools/python/py39-3.9] a4fa9a95153a3800dea60b3029b2dcaf8a4f6acb Lib/test/test_importlib/test_main.py < diff --git a/Lib/test/test_importlib/test_main.py b/Lib/te

[issue39791] New `files()` api from importlib_resources.

2020-06-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset a4fa9a95153a3800dea60b3029b2dcaf8a4f6acb by Miss Islington (bot) in branch '3.9': bpo-39791: Refresh importlib.metadata from importlib_metadata 1.6.1. (GH-20659) (GH-20661) https://github.com/python/cpython/commit/a4fa9a95153a3800dea60b3029b2d

[issue39791] New `files()` api from importlib_resources.

2020-06-05 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +19879 pull_request: https://github.com/python/cpython/pull/20661 ___ Python tracker _

[issue39791] New `files()` api from importlib_resources.

2020-06-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +19880 pull_request: https://github.com/python/cpython/pull/20662 ___ Python tracker ___ __

[issue39791] New `files()` api from importlib_resources.

2020-06-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 161541ab45278df6603dd870113b10f13e4d9e16 by Jason R. Coombs in branch 'master': bpo-39791: Refresh importlib.metadata from importlib_metadata 1.6.1. (GH-20659) https://github.com/python/cpython/commit/161541ab45278df6603dd870113b10f13e4d9e16

[issue39791] New `files()` api from importlib_resources.

2020-06-05 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +19878 pull_request: https://github.com/python/cpython/pull/20659 ___ Python tracker ___ _

[issue39791] New `files()` api from importlib_resources.

2020-06-05 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +19875 pull_request: https://github.com/python/cpython/pull/20656 ___ Python tracker ___ _

[issue39791] New `files()` api from importlib_resources.

2020-06-01 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +19816 pull_request: https://github.com/python/cpython/pull/20576 ___ Python tracker ___ _

[issue39791] New `files()` api from importlib_resources.

2020-05-08 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've merged PR 19722. Some follow up actions I'd like to do: - Add hooks for `.files()` on built-in loaders. - Replace `loader.get_resource_reader()` with adapters around `.files()` for built-in loaders. -- ___ P

[issue39791] New `files()` api from importlib_resources.

2020-05-08 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 7f7e706d78ab968a1221c6179dfdba714860bd12 by Jason R. Coombs in branch 'master': bpo-39791: Add files() to importlib.resources (GH-19722) https://github.com/python/cpython/commit/7f7e706d78ab968a1221c6179dfdba714860bd12 -- ___

[issue39791] New `files()` api from importlib_resources.

2020-04-26 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +19044 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19722 ___ Python tracker ___

[issue39791] New `files()` api from importlib_resources.

2020-03-07 Thread Ben Thayer
Change by Ben Thayer : -- nosy: +benthayer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue39791] New `files()` api from importlib_resources.

2020-03-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: The latest release, 1.3.0, includes extensibility support and has been merged with the cpython branch of the importlib_resources project. I believe that code is now synced with this project and ready to be applied here. I'm hoping benthayer can apply the ch

[issue39791] New `files()` api from importlib_resources.

2020-02-28 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue39791] New `files()` api from importlib_resources.

2020-02-28 Thread Jason R. Coombs
Change by Jason R. Coombs : -- assignee: -> jaraco components: +Library (Lib) type: -> behavior ___ Python tracker ___ ___ Python-

[issue39791] New `files()` api from importlib_resources.

2020-02-28 Thread Jason R. Coombs
New submission from Jason R. Coombs : In the [importlib_resources backport](https://gitlab.com/python-devs/importlib_resources/)... in particular in [issue 58](https://gitlab.com/python-devs/importlib_resources/issues/58) and [merge request 76](https://gitlab.com/python-devs/importlib_resour