numpy/numpy — pull request #286 by yarikoptic (2012-05-22 02:16:44+00:00)
Title: Explicit import of modules into the space in core/__init__.py

Otherwise there is no strict guarantee that they would be available
later on during population of __all__.

This issue was ran into while opening a python file in emacs with python-mode
and ropemacs:
```
Loading pymacs...done
Pymacs loading ropemacs...
File mode specification error: (error "Python: Traceback (most recent call last):
File \"/usr/lib/python2.7/dist-packages/Pymacs/pymacs.py\", line 146, in loop
value = eval(text)
File \"\", line 1, in
File \"/usr/lib/python2.7/dist-packages/Pymacs/pymacs.py\", line 246, in pymacs_load_helper
object = __import__(module_name)
File \"/usr/lib/python2.7/dist-packages/ropemacs/__init__.py\", line 4, in
import ropemode.interface
File \"/usr/lib/python2.7/dist-packages/ropemode/interface.py\", line 3, in
import rope.base.change
File \"/usr/lib/python2.7/dist-packages/rope/base/change.py\", line 2, in
import difflib
File \"/usr/lib/python2.7/difflib.py\", line 36, in
from collections import namedtuple as _namedtuple
File \"collections.py\", line 16, in
import numpy as np
File \"/usr/lib/pymodules/python2.7/numpy/__init__.py\", line 137, in
import add_newdocs
File \"/usr/lib/pymodules/python2.7/numpy/add_newdocs.py\", line 9, in
from numpy.lib import add_newdoc
File \"/usr/lib/pymodules/python2.7/numpy/lib/__init__.py\", line 4, in
from type_check import *
File \"/usr/lib/pymodules/python2.7/numpy/lib/type_check.py\", line 8, in
import numpy.core.numeric as _nx
File \"/usr/lib/pymodules/python2.7/numpy/core/__init__.py\", line 30, in
__all__ += numeric.__all__
NameError: name numeric is not defined
")
```