[Python-Dev] PEP 565: Show DeprecationWarning in main (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Sun Nov 12 12:10:08 EST 2017
- Previous message (by thread): [Python-Dev] PEP 565: Show DeprecationWarning in __main__
- Next message (by thread): [Python-Dev] PEP 565: Show DeprecationWarning in __main__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
12.11.17 11:24, Nick Coghlan пише:
The PEP also proposes repurposing the existing FutureWarning category to explicitly mean "backwards compatibility warnings that should be shown to users of Python applications" since:
- we don't tend to use FutureWarning for its original nominal purpose (changes that will continue to run but will do something different)
FutureWarning currently is used for its original nominal purpose in the re and ElementTree modules. It even had been added in 2.7 for behavior that already have been changed in Python 3 or will be changed in future versions (emitted only with the -3 option).
- Previous message (by thread): [Python-Dev] PEP 565: Show DeprecationWarning in __main__
- Next message (by thread): [Python-Dev] PEP 565: Show DeprecationWarning in __main__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]