@brianokken Yes to the warnings.deprecated decorator.
But it's only 3.13+ so many libraries will have to wait until ~October 2028 until they can use it (or only Q4 2026 for those following SPEC 0).
https://docs.python.org/3/library/warnings.html#warnings.deprecated
Re: https://www.youtube.com/live/FdgE0GDC7xU
#Python #deprecations
Who ever thought that
if (auto query = QSqlQuery{database}; !query.exec(u"SELECT ..."))
is so much better than the decades old
if (auto query = database.exec(u"SELECT ..."))
that it justifies millions of lines of Qt code getting changed...
@qt #qt #cplusplus #refactoring #deprecations #badengineering
Moar #music…
Sometimes, I look at the pace of #deprecations that I get the feeling of a ~character~ #feature I used to know…