[issue42403] Cleanup importlib code

2020-11-20 Thread STINNER Victor
STINNER Victor added the comment: I tried to rework how importlib/_bootstrap.py is imported and rework importlib/__init__.py code which imports _bootstrap.py and _bootstrap_external.py, but I introduced bugs. I prefer to leave the code as it is. At least, _bootstrap_external.py is now able

[issue42403] Cleanup importlib code

2020-11-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3be8e220ede7764a403b74eb2051aa703dde2626 by Victor Stinner in branch 'master': bpo-42403: Use @staticmethod in importlib (GH-23395) https://github.com/python/cpython/commit/3be8e220ede7764a403b74eb2051aa703dde2626 --

[issue42403] Cleanup importlib code

2020-11-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3390347aa036404453213d589fe1e35902e55fd4 by Victor Stinner in branch 'master': bpo-42403: Simplify importlib external bootstrap (GH-23397) https://github.com/python/cpython/commit/3390347aa036404453213d589fe1e35902e55fd4 --

[issue42403] Cleanup importlib code

2020-11-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22289 pull_request: https://github.com/python/cpython/pull/23397 ___ Python tracker ___

[issue42403] Cleanup importlib code

2020-11-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7d9d25dbedfffce61fc76bc7ccbfa9ae901bf56f by Victor Stinner in branch 'master': bpo-42403: Fix pyflakes warnings in importlib (GH-23396) https://github.com/python/cpython/commit/7d9d25dbedfffce61fc76bc7ccbfa9ae901bf56f --

[issue42403] Cleanup importlib code

2020-11-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22288 pull_request: https://github.com/python/cpython/pull/23396 ___ Python tracker ___

[issue42403] Cleanup importlib code

2020-11-19 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +22287 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23395 ___ Python tracker ___

[issue42403] Cleanup importlib code

2020-11-19 Thread STINNER Victor
New submission from STINNER Victor : Placeholder issuer to enhance the importlib code base and "bootstrap" code. -- components: Library (Lib) messages: 381397 nosy: vstinner priority: normal severity: normal status: open title: Cleanup importlib code versions: Python 3.10