This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_asdl_parser: load_module() method is deprecated
Type: enhancement Stage: resolved
Components: Tests Versions: Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: BTaskaya, corona10
Priority: normal Keywords: patch

Created on 2020-12-26 07:25 by BTaskaya, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 23954 merged corona10, 2020-12-26 11:36
Messages (2)
msg383795 - (view) Author: Batuhan Taskaya (BTaskaya) * (Python committer) Date: 2020-12-26 07:25
Running test_asdl_parser raises a deprecation warning:
0:00:26 load avg: 1.05 [ 23/426] test_asdl_parser
<frozen importlib._bootstrap>:283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead

probably related with this line:
https://github.com/python/cpython/blob/ea251806b8dffff11b30d2182af1e589caf88acf/Lib/test/test_asdl_parser.py#L29
msg383804 - (view) Author: Batuhan Taskaya (BTaskaya) * (Python committer) Date: 2020-12-26 13:25
New changeset 0b281f94b9e5f117d774a1e4e834e797b2b21438 by Dong-hee Na in branch 'master':
bpo-42748: test_asdl_parser now uses exec_module instead of load_module (#23954)
https://github.com/python/cpython/commit/0b281f94b9e5f117d774a1e4e834e797b2b21438
History
Date User Action Args
2022-04-11 14:59:39adminsetgithub: 86914
2020-12-26 13:26:30corona10setstatus: open -> closed
versions: + Python 3.10
type: enhancement
components: + Tests
resolution: fixed
stage: patch review -> resolved
2020-12-26 13:25:40BTaskayasetmessages: + msg383804
2020-12-26 11:36:01corona10setkeywords: + patch
nosy: + corona10

pull_requests: + pull_request22801
stage: patch review
2020-12-26 07:25:53BTaskayacreate