Closed jace closed 4 months ago
Defer locking to the GIL instead (borrowing from the change to functools.cached_property in Python 3.12). Also, Avoid datetime.utcnow() and use a final class as a sentinel singleton.
functools.cached_property
datetime.utcnow()
Defer locking to the GIL instead (borrowing from the change toAvoidfunctools.cached_property
in Python 3.12). Also,datetime.utcnow()
and use a final class as a sentinel singleton.