Let deprecated decorater take user-defined deprecation warning
See original GitHub issueAs requested by @bsipocz . Currently, the deprecated
decorator only emits AstropyDeprecationWarning
or AstropyPendingDeprecationWarning
. It would be nice if these warnings can be overridden by an user option.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
decorators in the python standard lib (@deprecated specifically)
It offers the deprecated() decorator to wrap functions, providing proper warnings both in documentation and via Python's warnings system, as well as the ......
Read more >deprecation — deprecation 2.0.6 documentation
deprecation is a library that enables automated deprecations. It offers the deprecated() decorator to wrap functions, providing proper warnings both in ...
Read more >Fix deprecation warning that appear in Python 3.8+ · Issue #203
9. The presence of deprecation warnings does not mean that the library doesn't support the current python version. It just indicates that the...
Read more >Python deprecation - DEV Community
When deprecating classes you have to consider two separate use cases. Instantiating an object of a deprecated class can throw a deprecation ......
Read more >Deprecation warnings in legacy JavaScript code using ...
deprecation is the discouragement of use of some terminology, feature, ... In the first file I define a class with a deprecated method: ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Apache is compatible with BSD 3-Clause, there should be no issues.
Something for the @astropy/coordinators to think about? 😸 (Would the benefit of adding
debtcollector
as required dependency outweighs the maintenance cost of keeping up with it? Or do we bundle it? Or do we keep ours as-is and simply redirect affiliated packages to it?)