Skip to content

MAINT: remove the deprecated tic, tac, toc and loop_timer timers (v1.0) #786

Open

Description

@mmcky

Once the new context manager approach is added (#782) to QuantEcon.py we should look at deprecating the old timer functionality.

This would include

Step 1: enable DeprecationWarning in the current version of QuantEcon.py notifying of removal for version 0.9.*
Step 2: remove the functions when 0.9.* is released.


Update 2026-09-23: Step 1 is #833, which deprecates tic, tac, toc and loop_timer from 0.12.0, pointing users to the Timer context manager (#783) and timeit (#794). The 0.9.* target above is out of date: Step 2, removing the four functions, is planned for v1.0, so this issue now sits on the v1.0 milestone. None of the current lecture repos (lecture-python.myst, lecture-python-intro, lecture-python-programming.myst, lecture-python-advanced.myst, lecture-jax, lecture-dp) call them as of this date.

Activity

  1. modified the milestones: v0.9, v0.10.0 on Aug 12, 2025
  2. removed this from the v0.10.0 milestone on Aug 27, 2025
  3. added this to the v1.0 milestone on Sep 23, 2026
  4. changed the title [-]Deprecate `tic`,`tac`, `toc` timers[/-] [+]MAINT: remove the deprecated `tic`, `tac`, `toc` and `loop_timer` timers (v1.0)[/+] on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions