This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jamescasbon
Recipients jamescasbon
Date 2022-01-07.14:11:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641564710.75.0.603666211799.issue46292@roundup.psfhosted.org>
In-reply-to
Content
LogRecord makes microseconds available via the msecs attribute.  This patch adds microseconds via usecs attribute.

Some regulators (eg MIFID II) require accuracy greater than 1ms in some industries.

This patch calls time_ns rather than time so that the usecs and msecs are calculated from int types and then gets the original ct attribute via division.
History
Date User Action Args
2022-01-07 14:11:50jamescasbonsetrecipients: + jamescasbon
2022-01-07 14:11:50jamescasbonsetmessageid: <1641564710.75.0.603666211799.issue46292@roundup.psfhosted.org>
2022-01-07 14:11:50jamescasbonlinkissue46292 messages
2022-01-07 14:11:50jamescasboncreate