You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if it was possible to use the @q decorator for a single function call (i.e., q(func)(...)). The idea would be for q to check whether its argument is callable, and, if it is, wrap it with its arguments-and-results-logging version.
Extra points if this checks whether the next token is a ( before deciding whether to do this but that may be overkill.
Thoughts?
The text was updated successfully, but these errors were encountered:
It would be nice if it was possible to use the
@q
decorator for a single function call (i.e.,q(func)(...)
). The idea would be forq
to check whether its argument is callable, and, if it is, wrap it with its arguments-and-results-logging version.Extra points if this checks whether the next token is a
(
before deciding whether to do this but that may be overkill.Thoughts?
The text was updated successfully, but these errors were encountered: