mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
As discussed on python-dev, add a mechanism to indicate features
that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved.
This commit is contained in:
parent
e85ee8d815
commit
d68f5171eb
7 changed files with 48 additions and 16 deletions
|
@ -262,3 +262,4 @@ if __name__ == "__main__":
|
|||
else:
|
||||
_processoptions(sys.warnoptions)
|
||||
filterwarnings("ignore", category=OverflowWarning, append=1)
|
||||
filterwarnings("ignore", category=PendingDeprecationWarning, append=1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue