[issue46592] Undocumented behavior in strptime for ISO week dates

2022-01-31 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +belopolsky, p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue46592] Undocumented behavior in strptime for ISO week dates

2022-01-31 Thread Jonatan Skogsfors
New submission from Jonatan Skogsfors : Consider the following code : Python 3.10.2 (main, Jan 31 2022, 12:03:48) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from datetime import datetime >>> datetime.strptime("2021-53-1", "%Y-%W-%w").strftime(