salabim
salabim
Thanks for piinting this out. I will fix the bug in the next release.
@Håkon, Yes, It has been fixed in version 22.0.8, as is also mentioned in the changelog.txt / release notes. /Ruud On Tue, 29 Nov 2022 at 12:21, Håkon Grov ***@***.***>...
`pprint.pformat` has the underscore_numbers keyword, which outputs numbers with _ in between, like ``` 123_456_789 ``` This can be used with icecream by creating a custom argToString function: ``` ic.configureOutput(argToStringFunction=lambda...
Try ycecream: pip install ycecream Github: https://github.com/salabim/ycecream You will love it!
I have never done any performance tests. Could you share (the results of) your tests?
Colouring is not possible with ycecream, by design.
Maybe ycecream will serve you better as that icecream inspired package (not a fork) supports hierarchical instances. And ... much more. You can find it on PyPI.
I don't think somthing like ``` ic(foo()) ic(foo(), profile=True) ``` could provide timing information, as parameters are always evaluated first before given to the function. So, no way to time...
See an implementation on [www.salabim.org/peek/](http://www.salabim.org/peek/)
I find this a crazy idea. E.g. what to do with ic/x*y ? According to the operator precedence rules, this will be equivalent to (ic/x)*y And that is -I guess-...