DeprecationWarning no longer loud by default in Python 2.7+
|Reported by:||Donald Stufft||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
Since Python 2.7 (and 3.2) Python no longer emits output for DeprecationWarnings. This is due to the desire to hide these errors from end users. The Django release documentation still references the fact that these errors will be loud by default (and relies on it to help people migrate to new features).
I propose modifying the documentation of the release process to include a note about how to restore that output, as well as modifying the default manage.py to re-emit DeprecationWarning.
Change History (33)
comment:19 Changed 4 years ago by
|Severity:||Normal → Release blocker|
|Status:||closed → new|