jepler · GitHub

Feature or enhancement

Proposal:

Actually remove the following classes, which were marked as deprecated in Python 3.9:

class Suite(mod):
    """Deprecated AST node class.  Unused in Python 3."""
class AugLoad(expr_context):
    """Deprecated AST node class.  Unused in Python 3."""
class AugStore(expr_context):
    """Deprecated AST node class.  Unused in Python 3."""

These were previously removed but then restored in GH-19056 (Python 3.9)

If it's not feasible to remove them in 3.15 (for instance, as there was never been a runtime deprecation warning added) then add the runtime deprecation instead.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Read the original on github.com ↗