[Bug 280922] Change 46c599340f187db577b9212ab18022f3c7380c68 fixes one case (localtime / gmtime -> strftime('%s'), but breaks another
Date: Mon, 19 Aug 2024 13:58:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280922 --- Comment #2 from Dag-Erling Smørgrav <des@FreeBSD.org> --- Your patch makes no sense. You assume that fields that weren't explicitly initialized are zero, but that's frequently not the case. The correct fix is to change cpython to explicitly initialize its `struct tm` either with an initializer or with `memset()`. -- You are receiving this mail because: You are the assignee for the bug.