Skip to content
Prev Previous commit
Next Next commit
news
  • Loading branch information
maurycy committed Apr 7, 2026
commit ff27dc4bcab5877dc2ab005ed1e90cf868952248
Comment thread
maurycy marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Cache ``time.time``, ``time.struct_time``, and ``time.strftime`` imports,
Comment thread
maurycy marked this conversation as resolved.
Outdated
speeding up :meth:`~datetime.date.timetuple` and
:meth:`~datetime.date.strftime` by up to 2x. Patch by Maurycy
Pawłowski-Wieroński.
:meth:`~datetime.date.strftime` by up to 2x. As such, patching :mod:`time`
functions after importing :mod:`datetime` will no longer affect :mod:`datetime`
behaviour. Patch by Maurycy Pawłowski-Wieroński.
Loading