We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following exception is thrown when icecream.ic is imported with an alias.
icecream.ic
ValueError: min() arg is an empty sequence
from icecream import ic as foo foo(1)
throws the above exception instead of the expected output foo| 1: 1
foo| 1: 1
The text was updated successfully, but these errors were encountered:
Yep. Currently broken.
https://github.com/gruns/icecream/blob/master/icecream/icecream.py#L274
I'm aware of this limitation and will fix shortly.
Sorry, something went wrong.
Fixed in 00f87e9.
Fix will go out in the next version.
Fixed in v1.0.
>>> from icecream import ic as foo >>> foo(1) ic| 1: 1
Upgrade with
$ pip install icecream --upgrade
Thank you again, Piyush. Don't hesitate to let me know if there's anything else I can do for you.
No branches or pull requests
The following exception is thrown when
icecream.ic
is imported with an alias.How to reproduce
throws the above exception instead of the expected output
foo| 1: 1
The text was updated successfully, but these errors were encountered: