We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a6f1ae commit 8925b3aCopy full SHA for 8925b3a
pandas/core/util/numba_.py
@@ -55,10 +55,15 @@ def get_jit_arguments(
55
engine_kwargs = {}
56
57
nopython = engine_kwargs.get("nopython", True)
58
- if kwargs and nopython:
+ if kwargs:
59
+ # Note: in case numba supports keyword-only arguments in
60
+ # a future version, we should remove this check. But this
61
+ # seems unlikely to happen soon.
62
+
63
raise NumbaUtilError(
- "numba does not support kwargs with nopython=True: "
- "https://github.com/numba/numba/issues/2916"
64
+ "numba does not support keyword-only arguments"
65
+ "https://github.com/numba/numba/issues/2916, "
66
+ "https://github.com/numba/numba/issues/6846"
67
)
68
nogil = engine_kwargs.get("nogil", False)
69
parallel = engine_kwargs.get("parallel", False)
0 commit comments