Ansgar Grunseid
Ansgar Grunseid
Decorators just takes a function and return another function. So `ic()` could just check if its first argument is a function and go from there. ```python class IceCreamDebugger: def __call__(self,...
Excellent catch @alexmojaki! Silly, trivial folly on my end. No morning :coffee: on weekends :). The two viable approaches: 1) Add a special keyword to `ic()`, like ```python @ic(decorator=True) def...
> I've implemented this in #32 with an upgrade to executing that detects decorators reliably. :tada:! > Could I get some opinions/votes on desired naming and features? does the new...
one way to do it: https://github.com/gruns/icecream/issues/58#issuecomment-786904897
should we create a `dist/` directory where the `single_file_icecream.py` file would live? another alternative would be to create a release, as in gh releases (https://github.com/gruns/icecream/releases) with the single file icecream.py...
afaict there is, unfortunately, no way to release just a file through github releases. only archives (.zip, .tar.gz) * https://docs.github.com/en/github/administering-a-repository/managing-releases-in-a-repository and yep -- `dist/` exists already but it's only used...
> The point is that some people have trouble pip installing. it's a safe assumption, to me, that any python dev should have access to pip during development, though it'd...
> @salabim, your spammy comments are becoming excessive. Please tone it down so I'm not tempted to delete or report your comments. @gruns, do you feel similarly? agreed. @salabim ycream...
@alexmojaki any way to integrate the magic (terrible pun intended) of sorcery into icecream so @CJC-ds's decorator example above automagically works as intended?
great find! i dont have time to fix this right now. do you have time to dig in and resolve this with a PR?