Message 411713 - Python tracker

Message411713

Author godlygeek
Recipients alex.gronholm, ammar2, belopolsky, brett.cannon, dlenski, godlygeek, hongweipeng, jwilk, mehaase, p-ganssle, rdb
Date 2022-01-26.08:09:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643184546.67.0.359981705862.issue35829@roundup.psfhosted.org>
In-reply-to
Content
I agree with Brett. Adding `allow_z` (or perhaps `compact` or `use_utc_designator` if we're bikeshedding) as an optional keyword only argument to `.isoformat()` would allow us to keep the explanation that what `.fromisoformat()` can parse is exactly what `.isoformat()` can produce, while giving a feature to `.fromisoformat()` that many have asked for and that would have minimal overhead in terms of code complexity or runtime performance.

Would you accept a PR that implements that, Paul?
History
Date User Action Args
2022-01-26 08:09:06godlygeeksetrecipients: + godlygeek, brett.cannon, belopolsky, jwilk, alex.gronholm, dlenski, rdb, ammar2, mehaase, p-ganssle, hongweipeng
2022-01-26 08:09:06godlygeeksetmessageid: <1643184546.67.0.359981705862.issue35829@roundup.psfhosted.org>
2022-01-26 08:09:06godlygeeklinkissue35829 messages
2022-01-26 08:09:06godlygeekcreate