Pending removal in Python 3.21

  • ast:

    • Classes slice, Index, ExtSlice, Suite, Param, AugLoad and AugStore, will be removed in Python 3.21. These types are not generated by the parser or accepted by the code generator.

    • The dims property of ast.Tuple will be removed in Python 3.21. Use the ast.Tuple.elts property instead.

  • The __getformat__() class method of the float is 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.)