Repository: numba/numba

Issue:
from numba import * fails due to jitclass still being in __all__
5f7ecf3bbfdf25b55f663f5278e4e31ad6fdde4c removes `jitclass` from the `numba` namespace, but `__init__.py`'s `__all__` still contains `jitclass`, causing `from numba import *` to fail.

Discussion:

Patch:
diff --git a/numba/__init__.py b/numba/__init__.py
index 808ac73e9..30866eaa7 100644
--- a/numba/__init__.py
+++ b/numba/__init__.py
@@ -66,7 +66,6 @@ __all__ = """
     njit
     stencil
     jit_module
-    jitclass
     typeof
     prange
     gdb


Test patch:
diff --git a/numba/tests/test_import.py b/numba/tests/test_import.py
index 7fdf394dd..7cc908204 100644
--- a/numba/tests/test_import.py
+++ b/numba/tests/test_import.py
@@ -61,6 +61,11 @@ class TestNumbaImport(TestCase):
         flags = ["-Werror",]
         self.run_in_subproc(code, flags)
 
+    def test_import_star(self):
+        # checks that "from numba import *" works.
+        code = "from numba import *"
+        self.run_in_subproc(code)
+
 
 if __name__ == '__main__':
     unittest.main()