Closed spookylukey closed 9 months ago
Python 3.8 and later use ast.Constant and not the subclasses ast.Str, Num etc. and the latter are now deprecated.
ast.Constant
ast.Str
Num
@Samylov-Mikhail I think this approach to fixing the AST warnings should work OK, without dropping Python 3.6/3.7 compat - what do you think?
Yeah, It's a good approach!
Python 3.8 and later use
ast.Constant
and not the subclassesast.Str
,Num
etc. and the latter are now deprecated.