flake8
passed.
JSHint
passed.
Review Request #13014 — Created May 4, 2023 and submitted
Information | |
---|---|
chipx86 | |
housekeeping | |
master | |
Reviewers | |
beanbag-misc | |
This introduces two new functions for deprecating modules:
module_deprecated()
andmodule_moved()
.
module_deprecated()
can be called in the body of a module to emit a
deprecation warning when the module is imported.
module_moved()
is similar, but takes a destination module, and points
consumers to that module in the deprecation message.
Unit tests pass on all supported versions of Python.
Summary | |
---|---|
Updated to use standard display formatting, new unit test helpers, and stack levels.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+552) |