[New-bugs-announce] [issue36025] Breaking change in PyDate_FromTimeStamp API

Paul Ganssle report at bugs.python.org
Mon Feb 18 12:22:05 EST 2019


New submission from Paul Ganssle <p.ganssle at gmail.com>:

The PyO3 test suite has been breaking since the alpha release of Python 3.8 because PyDateTimeAPI->Date_FromTimeStamp has had a breaking change in its API: https://github.com/PyO3/pyo3/issues/352

I believe this happened when `datetime.date.fromtimestamp` and `datetime.datetime.fromtimestamp` were converted over to using the argument clinic. The function `date_from_local_object` was renamed to `date_fromtimestamp`, without a corresponding change to the PyDateTimeCAPI struct.

----------
assignee: p-ganssle
components: Library (Lib)
messages: 335854
nosy: belopolsky, p-ganssle, petr.viktorin, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Breaking change in PyDate_FromTimeStamp API
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36025>
_______________________________________


More information about the New-bugs-announce mailing list