
May 2, 2018
5:32 a.m.
2018-05-02 11:17 GMT+02:00 Antoine Pitrou <solipsis@pitrou.net>:
It's at least possible with gcc, clang and MSVC: https://stackoverflow.com/questions/295120/c-mark-as-deprecated/295229#29522...
You can even add a deprecation message.
Aha, I opened an issue: https://bugs.python.org/issue33407 "Implement Py_DEPRECATED() macro for Visual Studio" Victor