Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> It should not be "removed" as a step function. It should get more annoying over time but still function for the next 30 years, at which point it's incredibly, incredibly annoying to call the function (but still works).

Keeping stuff around costs maintenance effort. Python is mostly developed by volunteers (either directly by occasional volunteers like me, or by professionals who are paid by organisations like Microsoft, who volunteer the money.)



We can have a @depreciate decorator to make this easy. When that decorator is used on a function it will begin the annoyances.


Yes, but you still need to keep the deprecated function working, as you make other changes throughout the code base.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: