3 ms·
And get off my lawn. Few forces favor convergence and standardization in open source. After a few decades of this, we have far too much duplicative stuff. It'
by Animats 3y ago
And get off my lawn.
Few forces favor convergence and standardization in open source. After a few decades of this, we have far too much duplicative stuff.
It's really hard to clean that up. At one time I tried to get the 6 or 8 Python packages that parse ISO8601 date strings standardized. All of them had bugs. It took 6 years of bikeshedding discussions.[1] Issue filed in 2012, patch applied in 2018. For something that's a few screens of code.
[1] https://bugs.python.org/issue15873 https://bugs.python.org/issue15873
- eviks 3y agoYeah, the last mile is the hardest
- AdamN 3y agoOver time I've concluded that a single standard for anything important simply isn't enough. It's best to accept that 2 standards and optionally a 3rd and 4th slot for upcoming standards are the best that can be done. Fixating on getting to one is actually counter-productive. This isn't just true of standards, it's also true of implementations of a standard.
- hashar 3y ago> datetime.fromisoformat(date_string) > > Return a date corresponding to a date_string given in any valid ISO 8601 format, except ordinal dates (e.g. YYYY-DDD) Thank you for that!