ó 2ÄÈ[c@`s¤dZddlmZmZmZdddgZdeƒkrOedƒ‚neZ de fd„ƒYZ de fd „ƒYZ d efd „ƒYZeƒZd S( sI 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. i(tdivisiontabsolute_importtprint_functiontModuleDeprecationWarningtVisibleDeprecationWarningt_NoValuet _is_loadeds'Reloading numpy._globals is not allowedcB`seZdZRS(s6Module 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. (t__name__t __module__t__doc__(((s-/tmp/pip-build-fiC0ax/numpy/numpy/_globals.pyR!scB`seZdZRS(sá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. (RRR (((s-/tmp/pip-build-fiC0ax/numpy/numpy/_globals.pyR-st _NoValueTypecB`s/eZdZdZd„Zd„Zd„ZRS(sÂSpecial keyword value. The instance of 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. cC`s.|js'tt|ƒj|ƒ|_n|jS(N(t_NoValueType__instancetsuperR t__new__(tcls((s-/tmp/pip-build-fiC0ax/numpy/numpy/_globals.pyR ?s cC`s |jdfS(N((t __class__(tself((s-/tmp/pip-build-fiC0ax/numpy/numpy/_globals.pyt __reduce__FscC`sdS(Ns ((R((s-/tmp/pip-build-fiC0ax/numpy/numpy/_globals.pyt__repr__IsN(RRR tNoneR R RR(((s-/tmp/pip-build-fiC0ax/numpy/numpy/_globals.pyR 7s   N(R t __future__RRRt__ALL__tglobalst RuntimeErrortTrueRtDeprecationWarningRt UserWarningRtobjectR R(((s-/tmp/pip-build-fiC0ax/numpy/numpy/_globals.pyts