Implementation of my proposed PEP 387 "Soft Deprecation" policy: https://github.com/python/peps/pull/3182 * Add SoftDeprecationWarning warning category * Ignore these warnings by default, except in the ``__main__`` module (similar to [PEP 565: Show DeprecationWarning in __main__](https://peps.python.org/pep-0565/)) As an example, I propose to soft deprecate the getopt module: PR #105735 (currently, the PR uses a regular "hard" deprecation). <!-- gh-linked-prs --> ### Linked PRs * gh-106142 <!-- /gh-linked-prs -->