Skip to content

bpo-32088: Display Deprecation in debug mode#4474

Merged
ambv merged 1 commit into
python:masterfrom
vstinner:debug_warns
Nov 20, 2017
Merged

bpo-32088: Display Deprecation in debug mode#4474
ambv merged 1 commit into
python:masterfrom
vstinner:debug_warns

Conversation

@vstinner

@vstinner vstinner commented Nov 20, 2017

Copy link
Copy Markdown
Member

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.

https://bugs.python.org/issue32088

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.
@ambv
ambv merged commit 895862a into python:master Nov 20, 2017
@vstinner
vstinner deleted the debug_warns branch November 20, 2017 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants