Closed
Description
Bug report
Bug description:
In 3.12 and below, with a _Py_Time
handle I could get the milliseconds for a time struct:
msecs = _PyTime_AsMilliseconds(ctime, _PyTime_ROUND_CEILING);
The _PyTime_AsMilliseconds
API has moved to the internal API so is no longer importable from an extension module. The new C APi for PyTime doesn't include an msecs conversion method, what should we use?
Thanks,
CPython versions tested on:
3.13
Operating systems tested on:
Linux, macOS, Windows