diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-11-20 17:47:03 (GMT) |
---|---|---|
committer | Ćukasz Langa <lukasz@langa.pl> | 2017-11-20 17:47:03 (GMT) |
commit | 895862aa01793a26e74512befb0c66a1da2587d6 (patch) | |
tree | a65de848905ccd0541e15ca5584d69800e264ecf /Misc/NEWS.d | |
parent | c5a2071586f735d2a61d1756e7011cfbb6ce86c9 (diff) | |
download | cpython-895862aa01793a26e74512befb0c66a1da2587d6.zip cpython-895862aa01793a26e74512befb0c66a1da2587d6.tar.gz cpython-895862aa01793a26e74512befb0c66a1da2587d6.tar.bz2 |
bpo-32088: Display Deprecation in debug mode (#4474)
When Python is build is debug mode (Py_DEBUG), DeprecationWarning,
PendingDeprecationWarning and ImportWarning warnings are now
displayed by default.
test_venv: run "-m pip" and "-m ensurepip._uninstall" with -W
ignore::DeprecationWarning since pip code is not part of Python.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-11-20-15-28-31.bpo-32088.mV-4Nu.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-11-20-15-28-31.bpo-32088.mV-4Nu.rst b/Misc/NEWS.d/next/Library/2017-11-20-15-28-31.bpo-32088.mV-4Nu.rst new file mode 100644 index 0000000..fda75d7 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-11-20-15-28-31.bpo-32088.mV-4Nu.rst @@ -0,0 +1,3 @@ +warnings: When Python is build is debug mode (``Py_DEBUG``), +:exc:`DeprecationWarning`, :exc:`PendingDeprecationWarning` and +:exc:`ImportWarning` warnings are now displayed by default. |