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.

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

  • threading:

    • threading.Condition.notifyAll, threading.Event.isSet, and threading.activeCount will be removed in Python 3.21. Use the snake case names (e.g., notify_all) instead.

    • threading.Thread.isDaemon, threading.Thread.setDaemon will be removed in Python 3.21. Use the property threading.Thread.daemon instead.

    • threading.Thread.getName and threading.Thread.setName will be removed in Python 3.21. Use the property threading.Thread.name instead.