Scrapy, a fast high-level web crawling & scraping framework for Python.
BSD 3-Clause "New" or "Revised" License
50.99k
stars
10.34k
forks
source link
issue#6305 Replace deprecated ast.NameConstant usage and add tests #6306
Open
lizdenhup opened 1 month ago
Problem
Within
misc.py
there is a usage ofast.NameConstant
.ast.NameConstant
will be deprecated beginning with Python 3.14.x so we want to remove it.Solution
ast.NameConstant
withast.Constant
withinmisc.py
ast.Constant
with a value, or with aNone
valueValidation
Fixes #6305