Update Logs

This page will show the version update log for the Stopwatch Kit.

0.1.4 - 2019/9/4

Fixed

  • Fix the problem that the package description for package stopwatch is incorrect in setup.py.

  • Fix the problem that the variable __all__ data type of the block __init__.py of the stopwatch module is invalid.

  • Fix code style non-compliance issues in modules setup.py and quickstart.py.

  • Fix the package stopwatch module __init__.py, watch.py, manager.py, there is a code style non-compliance problem.

  • Fix the package stopwatch module __init__.py, watch.py, manager.py, there is an annotation style non-compliance problem.

  • Fix the method of class StopwatchManager stops Unconditionally throwing an exception StatusError.

  • Fix the method of class Stopwatch lap raises the problem of exception NameError when recording anonymous timed records.

  • Fix the method of class Stopwatch get_laps The return value is not a problem with the data type list.

  • Fix some detailed issues...

Added

  • A new package named tests is added, and unit testing of the package stopwatch is now supported.

0.1.3 - 2019/9/3

Fixed

  • Fix the method of class Stopwatch The stop comment describes the problem that the return value is incorrect.

Changed

  • The method Stopwatch 's method get_watch now supports getting the total time results in real time while the Stopwatch instance is timing, instead of throwing an exception StatusError.

  • The method of class Stopwatch lap, now supports returning the timing result of the current timing record.

Added

  • Added an exception with the symbol StopwatchNameError indicating that the Stopwatch instance unique name is invalid.

  • Added an exception with the symbol name MaxLimitError indicating that the metric exceeded the limit.

  • Added a class with the symbol StopwatchManager to implement the Stopwatch Manager.

  • Added a class with the symbol StopwatchManager to implement the Stopwatch Manager.

  • Added a variable named default_manager to implement the default Stopwatch manager.

  • The class Stopwatch adds the has_lap method, and now supports checking for the existence of the specified timing record.

  • The class Stopwatch adds the get_average_of_laps method, which now supports getting the average timing results for all timed records.

  • The class Stopwatch adds the get_laps method and now supports enumerating unique names for all timed records.

  • The class Stopwatch adds the get_lap_count method, which now supports getting the number of timed records.

0.1.2 - 2019/9/2

Fixed

  • Fix the default naming error for anonymous timer records.

Last updated