salabim

Results 17 comments of salabim

The 'problem' is that print uses the str() function to get the string, whereas icecream uses the repr() function. So, if you want the 'nice' version of poly, just do...

With the pull request, this program ``` from icecream import ic ic.configureOutput(includeContext=True) def a(): def hello(val): ic(val) hello("world") a() ``` results in ``` ic| test context icecream.py:6 in a..hello()- val:...

I don't see why you would need a separate method to use ic as a decorator. The package ycecream (https://github.com/salabim/ycecream) package does it all with standard function (in this case...

You are addressing some very edge case that ycecream doesn't address properly. If you would like to have that changed, please make it an issue on the ycecream GitHub page....

I am trying to backport ycecream to Python 2.7, but it's a lot of work and I am not sure whether it will be successful. Stay tuned on the ycecream...

Ycvecream is now available under Python 2.7. No dependencies and the full functionality! Give it a try.

Aren't you confusing single source file package with a no dependency package? If you just want a single source file package, that's pretty simple to realize: just combine the builtins.py,...

Or add a comment "If you want a single source file IceCream-like package, consider ycecream.". Really just one file for all Python versions (2.5, 3.6++) and installable from with pip.

No, I don't have time to resolve this. However, if someone might want to implement this, he/she could possibly try and backport it from ycecream.

I see that you have closed this issue, but I think it is not. If I understand you well, you like to call the save method when the value in...