[Python-ideas] Re: Python Documentation in Bengali (translation)

2021-07-12 Thread Steven D'Aprano
Hi sharifmehed...@outlook.com, On Sun, Jul 11, 2021 at 04:19:03PM -, sharifmehed...@outlook.com wrote: > Hi there all, > > I am preparing a team to start translating python documentation to Bengali. > > I'd appreciate some reference materials, comments and ideas about this. Thank you! You

[Python-ideas] Re: Deprecation APIs and language tooling

2021-07-12 Thread Blue
This already exists as `warnings.DeprecationWarning` see the documentation here: https://docs.python.org/3/library/exceptions.html#DeprecationWarning That said, the fact that this is hidden by default [as seen here]( https://docs.python.org/3/library/warnings.html).. > Base category for warnings

[Python-ideas] Re: Deprecation APIs and language tooling

2021-07-12 Thread Paul Bryan
I like the idea in principle. Could be as simple the presence of a __deprecated__ attribute on the class or function being deprecated. A simple decorator could set it. On Mon, 2021-07-12 at 19:37 +0100, Sergei Lebedev wrote: > Hi python-ideas, > > The subject is by no means new nor unique, and i

[Python-ideas] Deprecation APIs and language tooling

2021-07-12 Thread Sergei Lebedev
Hi python-ideas, The subject is by no means new nor unique, and in fact has been discussed on python-ideas at least once before as well as in python/mypy#2403