/
opt
/
alt
/
python27
/
lib64
/
python2.7
/
site-packages
/
numpy
/
/opt/alt/python27/lib64/python2.7/site-packages/numpy
mkdir
upload
Name
Size
Mode
Actions
compat/
-
0755
rm
core/
-
0755
rm
distutils/
-
0755
rm
doc/
-
0755
rm
fft/
-
0755
rm
lib/
-
0755
rm
linalg/
-
0755
rm
ma/
-
0755
rm
matrixlib/
-
0755
rm
polynomial/
-
0755
rm
random/
-
0755
rm
testing/
-
0755
rm
tests/
-
0755
rm
add_newdocs.py
223701
0644
edit
dl
rm
add_newdocs.pyc
290724
0644
edit
dl
rm
add_newdocs.pyo
290724
0644
edit
dl
rm
ctypeslib.py
14636
0644
edit
dl
rm
ctypeslib.pyc
14247
0644
edit
dl
rm
ctypeslib.pyo
14247
0644
edit
dl
rm
dual.py
1864
0644
edit
dl
rm
dual.pyc
2340
0644
edit
dl
rm
dual.pyo
2340
0644
edit
dl
rm
matlib.py
9584
0644
edit
dl
rm
matlib.pyc
10864
0644
edit
dl
rm
matlib.pyo
10864
0644
edit
dl
rm
setup.py
898
0644
edit
dl
rm
setup.pyc
1128
0644
edit
dl
rm
setup.pyo
1128
0644
edit
dl
rm
version.py
261
0644
edit
dl
rm
version.pyc
316
0644
edit
dl
rm
version.pyo
316
0644
edit
dl
rm
_globals.py
1851
0644
edit
dl
rm
_globals.pyc
2489
0644
edit
dl
rm
_globals.pyo
2489
0644
edit
dl
rm
_import_tools.py
13242
0644
edit
dl
rm
_import_tools.pyc
11569
0644
edit
dl
rm
_import_tools.pyo
11569
0644
edit
dl
rm
__config__.py
1769
0644
edit
dl
rm
__config__.pyc
1882
0644
edit
dl
rm
__config__.pyo
1882
0644
edit
dl
rm
__init__.py
6188
0644
edit
dl
rm
__init__.pyc
6187
0644
edit
dl
rm
__init__.pyo
6187
0644
edit
dl
rm
Edit:
/opt/alt/python27/lib64/python2.7/site-packages/numpy/_globals.py
(1851B)
""" Module defining global singleton classes. This module raises a RuntimeError if an attempt to reload it is made. In that way the identities of the classes defined here are fixed and will remain so even if numpy itself is reloaded. In particular, a function like the following will still work correctly after numpy is reloaded:: def foo(arg=np._NoValue): if arg is np._NoValue: ... That was not the case when the singleton classes were defined in the numpy ``__init__.py`` file. See gh-7844 for a discussion of the reload problem that motivated this module. """ from __future__ import division, absolute_import, print_function __ALL__ = [ 'ModuleDeprecationWarning', 'VisibleDeprecationWarning', '_NoValue' ] # Disallow reloading this module so as to preserve the identities of the # classes defined here. if '_is_loaded' in globals(): raise RuntimeError('Reloading numpy._globals is not allowed') _is_loaded = True class ModuleDeprecationWarning(DeprecationWarning): """Module deprecation warning. The nose tester turns ordinary Deprecation warnings into test failures. That makes it hard to deprecate whole modules, because they get imported by default. So this is a special Deprecation warning that the nose tester will let pass without making tests fail. """ pass class VisibleDeprecationWarning(UserWarning): """Visible deprecation warning. By default, python will not show deprecation warnings, so this class can be used when a very visible warning is helpful, for example because the usage is most likely a user bug. """ pass class _NoValue: """Special keyword value. This class may be used as the default value assigned to a deprecated keyword in order to check if it has been given a user defined value. """ pass
Save
cmd:
run