Anyone know whether there's ever been a PEP for storing the end of life date for each Python version within Python?
I'm imagining a sys.supported_until datetime object.
I'd love to ask each of my current Python installations whether they're supported rather than looking that information up in online docs.
#Python
I think I just found my least favorite way to accurately check whether a string (value) represents a number in #Python. 😬
value.removeprefix("-").replace(".", "", 1).isnumeric()