[issue25467] Put “deprecated” warnings first

Ezio Melotti report at bugs.python.org
Tue Oct 27 11:32:17 EDT 2015


Ezio Melotti added the comment:

I would rather avoid a JS-based solution.

It should be possible to create a mixin that adds the checks for deprecated/versionadded directives among the children of the node, and then define new directives for functions/methods/classes that inherit from the existing one and the mixin.
These directives can be added to https://hg.python.org/cpython/file/tip/Doc/tools/extensions/pyspecific.py

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25467>
_______________________________________


More information about the Python-bugs-list mailing list