$10 GRAYBYTE WORDPRESS FILE MANAGER $22

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 88.222.243.82 | ADMIN IP 216.73.216.143
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python37/lib64/python3.7/site-packages/numpy/

HOME
Current File : /opt/alt/python37/lib64/python3.7/site-packages/numpy//_globals.py
"""
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

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
28 Feb 2025 12.45 AM
root / 996
0755
__pycache__
--
25 Jan 2024 4.26 PM
root / 996
0755
compat
--
25 Jan 2024 4.26 PM
root / 996
0755
core
--
25 Jan 2024 4.26 PM
root / 996
0755
distutils
--
25 Jan 2024 4.26 PM
root / 996
0755
doc
--
25 Jan 2024 4.26 PM
root / 996
0755
fft
--
25 Jan 2024 4.26 PM
root / 996
0755
lib
--
25 Jan 2024 4.26 PM
root / 996
0755
linalg
--
25 Jan 2024 4.26 PM
root / 996
0755
ma
--
25 Jan 2024 4.26 PM
root / 996
0755
matrixlib
--
25 Jan 2024 4.26 PM
root / 996
0755
polynomial
--
25 Jan 2024 4.26 PM
root / 996
0755
random
--
25 Jan 2024 4.26 PM
root / 996
0755
testing
--
25 Jan 2024 4.26 PM
root / 996
0755
tests
--
25 Jan 2024 4.26 PM
root / 996
0755
__config__.py
1.14 KB
24 Apr 2023 7.38 PM
root / 996
0644
__init__.py
6.127 KB
24 Apr 2023 7.30 PM
root / 996
0644
_distributor_init.py
0.323 KB
24 Apr 2023 7.30 PM
root / 996
0644
_globals.py
1.808 KB
24 Apr 2023 7.30 PM
root / 996
0644
_import_tools.py
12.945 KB
24 Apr 2023 7.30 PM
root / 996
0644
add_newdocs.py
222.856 KB
24 Apr 2023 7.30 PM
root / 996
0644
ctypeslib.py
14.325 KB
24 Apr 2023 7.30 PM
root / 996
0644
dual.py
1.82 KB
24 Apr 2023 7.30 PM
root / 996
0644
matlib.py
9.359 KB
24 Apr 2023 7.30 PM
root / 996
0644
setup.py
0.877 KB
24 Apr 2023 7.30 PM
root / 996
0644
version.py
0.255 KB
24 Apr 2023 7.38 PM
root / 996
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF