Pending removal in Python 3.21¶
ast:Classes
slice,Index,ExtSlice,Suite,Param,AugLoadandAugStore, will be removed in Python 3.21. These types are not generated by the parser or accepted by the code generator.The
dimsproperty ofast.Tuplewill be removed in Python 3.21. Use theast.Tuple.eltsproperty instead.
The
__getformat__()class method of thefloatis deprecated and will be removed in Python 3.21. On CPython,float.__getformat__()always return a string, prefixed with"IEEE": to build CPython, you need support for IEEE 754 floating-point numbers since Python 3.11. (Contributed by Sergey B Kirpichev in gh-85989.)