Skip to content
New issue

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

Check if positional arguments to hunter.trace() are actually callable #23

Closed
ionelmc opened this issue Jan 20, 2016 · 0 comments
Closed

Comments

@ionelmc
Copy link
Owner

ionelmc commented Jan 20, 2016

Would avoid silly breakages like:

Traceback (most recent call last):
  File "src/hunter/_tracer.pyx", line 23, in hunter._tracer.trace_func (src/hunter/_tracer.c:1041)
  File "src/hunter/_predicates.pyx", line 251, in hunter._predicates.fast_When_call (src/hunter/_predicates.c:6802)
TypeError: 'str' object is not callable
Error in sys.exitfunc:
Traceback (most recent call last):
  File "src/hunter/_tracer.pyx", line 23, in hunter._tracer.trace_func (src/hunter/_tracer.c:1041)
  File "src/hunter/_predicates.pyx", line 251, in hunter._predicates.fast_When_call (src/hunter/_predicates.c:6802)
TypeError: 'str' object is not callable
Exception TypeError: "'str' object is not callable" in <function _remove at 0x7f064c7a19b0> ignored
Exception TypeError: "'str' object is not callable" in <function _remove at 0x7f064c6f78c0> ignored
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant