Add deprecation warnings for all deprecated names
Bug #2016170 reported by
Leonard Richardson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Beautiful Soup |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Beautiful Soup is full of deprecated names, some of which have been deprecated but silently working for 15 years. Without an actual DeprecationWarning being issued, developers will continue to use these very old names.
Start issuing DeprecationWarning for every deprecated name, and mention the version when the deprecation happened. That will allow a strategy for removing the deprecated names altogether.
To post a comment you must log in.
This is done in the 4.13 development branch. Attached is a script I ran to trigger each of the 31 warnings I've added.