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
Describe the bug
Sorry, for opening a new issue, but the old one was closed due to my late reply and I do not know whether you still get notifications for closed issues. So this is a continuation of: #277 Maybe you can reopen the old issue and close this one or we just continue here.
To Reproduce
With version 3.0.0b2 or the latest master branch run
Traceback (most recent call last):
File "/home/niklas/drescherlab/merge-stardist-masks/test.py", line 21, in <module>
s = numba_sum(x)
File "/home/niklas/.cache/pypoetry/virtualenvs/merge-stardist-masks-Mk5qjuGF-py3.9/lib/python3.9/site-packages/typeguard/__init__.py", line 286, in wrapper
memo = CallMemo(python_func, _localns, args=args, kwargs=kwargs)
File "/home/niklas/.cache/pypoetry/virtualenvs/merge-stardist-masks-Mk5qjuGF-py3.9/lib/python3.9/site-packages/typeguard/_memo.py", line 54, in __init__
super().__init__(func.__globals__, frame_locals, config)
AttributeError: 'CPUDispatcher' object has no attribute '__globals__'
The problem is not with the .py_func but with the real njitted function.
Expected behavior
I expect the call to the njit decorated function to succeed.
Describe the bug
Sorry, for opening a new issue, but the old one was closed due to my late reply and I do not know whether you still get notifications for closed issues. So this is a continuation of: #277 Maybe you can reopen the old issue and close this one or we just continue here.
To Reproduce
With version
3.0.0b2
or the latest master branch runIt gives me the following error message:
The problem is not with the
.py_func
but with the realnjitted
function.Expected behavior
I expect the call to the
njit
decorated function to succeed.Additional context
Copy of #277
The text was updated successfully, but these errors were encountered: