scrapy/utils/misc.py:249: DeprecationWarning: ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead
value is None or isinstance(value, ast.NameConstant) and value.value is None
Also, if I understand it correctly isinstance(value, ast.NameConstant) is always False, as ast.NameConstant() returns an ast.Constant instance, so I wonder if this case is covered by a test.
Also, if I understand it correctly
isinstance(value, ast.NameConstant)
is always False, asast.NameConstant()
returns anast.Constant
instance, so I wonder if this case is covered by a test.