mixmastamyk 12 days ago [-]
A nano-feature I kept complaining about on the list got in 3.7, datetime.fromisoformat :-D

https://docs.python.org/3.7/library/datetime.html#datetime.d...

Turns out iso 8601 is a lot larger spec than people realize. "Perfect is the enemy of the good," prevented this function's inclusion for almost a decade, sigh. This one handles the majority usecase and can be extended later, if need be.

AndrewOMartin 12 days ago [-]
You are the nano-hero the Python community deserves right now.
mixmastamyk 12 days ago [-]
*Sung to the tune of "Juke Box Hero" from Foreigner.