github gruns/icecream v2.3.0
icecream v2.3.0

one hour ago

Added: ic.timer, to measure how long code takes, as a decorator or a context manager.
Changed: Colors are turned off when the output isn't a terminal.
Fixed: ic.timer no longer crashes on callables without a __name__, like functools.partial.
Fixed: IndexError when repr() returns an empty string.
Fixed: configureOutput() type hint now accepts a callable prefix.
Fixed: The sdist now includes the tests and tox.ini (#141).
Improved: README documents ic.timer, lineWrapWidth, noColor and use_stdout()/use_stderr().

Big thanks to the community! This release was made possible by the people who contributed to the library.

Don't miss a new icecream release

NewReleases is sending notifications on new releases.