[issue42134] Raise ImportWarning when falling back to find_module()

2021-04-08 Thread Brett Cannon
Brett Cannon added the comment: > would you accept a PR that changes the changelog entry to contain the > ".find_spec() not found; falling back to find_module()" message, for better > search-ability? Sure! > Also, could you please explain how to migrate to find_spec() in >

[issue42134] Raise ImportWarning when falling back to find_module()

2021-04-08 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-43540 "importlib: Document how to replace load_module() in What's New in Python 3.10". -- ___ Python tracker ___

[issue42134] Raise ImportWarning when falling back to find_module()

2021-04-08 Thread Miro Hrončok
Miro Hrončok added the comment: Brett, would you accept a PR that changes the changelog entry to contain the ".find_spec() not found; falling back to find_module()" message, for better search-ability? I needed to use grep + git blame to be able to find out what's going on. Also, could you

[issue42134] Raise ImportWarning when falling back to find_module()

2021-03-30 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42134] Raise ImportWarning when falling back to find_module()

2021-03-30 Thread Brett Cannon
Brett Cannon added the comment: New changeset a7ff6df60c05e1b69fca743573b1e118bebf121d by Brett Cannon in branch 'master': bpo-42134: Raise ImportWarning when calling find_module() in the import system (GH-25044)

[issue42134] Raise ImportWarning when falling back to find_module()

2021-03-29 Thread Brett Cannon
Change by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42134] Raise ImportWarning when falling back to find_module()

2021-03-27 Thread Brett Cannon
Change by Brett Cannon : -- keywords: +patch pull_requests: +23792 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25044 ___ Python tracker ___

[issue42134] Raise ImportWarning when falling back to find_module()

2020-10-23 Thread Brett Cannon
New submission from Brett Cannon : find_spec() has superseded find_module() since Python 3.4. -- components: Interpreter Core messages: 379492 nosy: brett.cannon priority: normal severity: normal status: open title: Raise ImportWarning when falling back to find_module() versions: