New submission from Rémi Lapeyre <remi.lape...@henki.fr>: The new deprecated-removed extension in the documentation always produces text like this:
Deprecated since version 3.4, will be removed in version 3.8: MD5 as implicit default digest This message should be used in the documentation of 3.4 to 3.7 and then it should produce: Deprecated since version 3.4, removed in version 3.8: MD5 as implicit default digest I'm not sure if Sphinx knows which Python version it is building the documentation for. This is the only instance were this is used with a version less than 3.9 so all other messages are currently correct. I think a new contributor should be able to fix this. ---------- assignee: docs@python components: Documentation messages: 370141 nosy: docs@python, remi.lapeyre priority: normal severity: normal status: open title: The deprecated-removed Sphinx extension need to change the error message based on the Python version type: behavior versions: Python 3.10, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40798> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com