logoalt Hacker News

asveikauyesterday at 10:20 PM0 repliesview on HN

> The response.getheader method in urllib has been deprecated since 2023 because the response.headers dictionary is what should be used instead.

Who cares? This is such a trivial example, where there is no maintenance cost associated with leaving a dummy method in that does a dictionary lookup. I understand there are times when maintenance costs are substantial, but it's hard to take someone seriously when this is their example.

The obsession with newness, and stigmatizing something that doesn't conform to your sense of chasing newness, is really silly.. can you believe it's been deprecated since 2023 and someone still uses it???? 2023 was not some kind of dark ages of distant history.