Sorry for the long response.

After investigation, I have found that there is a third-party library called 
`decorator`  which do smth similar to what I propose (I didn't know about that 
library when I created this thread).

As I said, the idea of `decorator_factory` is to create a unified way of how to 
deal with simple decorator with parameters. For me, this is smth similar to 
`functools.lru_cache`, before it was introduced I written such functionality by 
myself many times.

Thank you for your opinion, and sorry about the long response.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/GXSJ2XU4SPQ66DRW6AAAMAF2AG3SSYPD/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to