Skip to content

Commit

Permalink
pythongh-111178: fix UBSan failures in Modules/_datetimemodule.c (p…
Browse files Browse the repository at this point in the history
…ythonGH-129774)

Add cast macros for date and time objects

Fix UBSan failures for `PyDateTime_Delta`, `PyDateTime_Date`, `PyDateTime_TZInfo`, `PyDateTime_TimeZone`, `PyDateTime_Time`, `PyDateTime_DateTime`, `PyDateTime_IsoCalendarDate`

Fix up naming
  • Loading branch information
picnixz authored Feb 19, 2025
1 parent 0d0be7f commit c637bce
Showing 1 changed file with 313 additions and 247 deletions.
Loading

0 comments on commit c637bce

Please sign in to comment.