Pending removal in Python 3.21

  • abc

  • 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.

  • socket:

    • ALG_SET_PUBKEY, ALG_OP_SIGN and ALG_OP_VERIFY will be removed in Python 3.21. They were never defined by the Linux kernel.

  • struct:

    • Soft-deprecated since Python 3.15, using 'F' and 'D' type codes are now deprecated. These codes will be removed in Python 3.21. Use instead two-letter forms 'Zf' and 'Zd'.

  • tempfile: