$26 GRAYBYTE WORDPRESS FILE MANAGER $63

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/typing/tests/data/pass/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/typing/tests/data/pass//ufunc_config.py
"""Typing tests for `numpy.core._ufunc_config`."""

import numpy as np

def func1(a: str, b: int) -> None: ...
def func2(a: str, b: int, c: float = ...) -> None: ...
def func3(a: str, b: int) -> int: ...

class Write1:
    def write(self, a: str) -> None: ...

class Write2:
    def write(self, a: str, b: int = ...) -> None: ...

class Write3:
    def write(self, a: str) -> int: ...


_err_default = np.geterr()
_bufsize_default = np.getbufsize()
_errcall_default = np.geterrcall()

try:
    np.seterr(all=None)
    np.seterr(divide="ignore")
    np.seterr(over="warn")
    np.seterr(under="call")
    np.seterr(invalid="raise")
    np.geterr()

    np.setbufsize(4096)
    np.getbufsize()

    np.seterrcall(func1)
    np.seterrcall(func2)
    np.seterrcall(func3)
    np.seterrcall(Write1())
    np.seterrcall(Write2())
    np.seterrcall(Write3())
    np.geterrcall()

    with np.errstate(call=func1, all="call"):
        pass
    with np.errstate(call=Write1(), divide="log", over="log"):
        pass

finally:
    np.seterr(**_err_default)
    np.setbufsize(_bufsize_default)
    np.seterrcall(_errcall_default)

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
14 Aug 2025 9.24 PM
root / root
0755
__pycache__
--
14 Aug 2025 9.24 PM
root / root
0755
arithmetic.py
7.28 KB
17 Apr 2025 8.10 PM
root / root
0644
array_constructors.py
2.362 KB
17 Apr 2025 8.10 PM
root / root
0644
array_like.py
0.895 KB
17 Apr 2025 8.10 PM
root / root
0644
arrayprint.py
0.748 KB
17 Apr 2025 8.10 PM
root / root
0644
arrayterator.py
0.384 KB
17 Apr 2025 8.10 PM
root / root
0644
bitwise_ops.py
0.947 KB
17 Apr 2025 8.10 PM
root / root
0644
comparisons.py
2.922 KB
17 Apr 2025 8.10 PM
root / root
0644
dtype.py
1.044 KB
17 Apr 2025 8.10 PM
root / root
0644
einsumfunc.py
1.338 KB
17 Apr 2025 8.10 PM
root / root
0644
flatiter.py
0.17 KB
17 Apr 2025 8.10 PM
root / root
0644
fromnumeric.py
3.654 KB
17 Apr 2025 8.10 PM
root / root
0644
index_tricks.py
1.457 KB
17 Apr 2025 8.10 PM
root / root
0644
lib_utils.py
0.41 KB
17 Apr 2025 8.10 PM
root / root
0644
lib_version.py
0.292 KB
17 Apr 2025 8.10 PM
root / root
0644
literal.py
1.3 KB
17 Apr 2025 8.10 PM
root / root
0644
mod.py
1.541 KB
17 Apr 2025 8.10 PM
root / root
0644
modules.py
0.581 KB
17 Apr 2025 8.10 PM
root / root
0644
multiarray.py
1.3 KB
17 Apr 2025 8.10 PM
root / root
0644
ndarray_conversion.py
1.588 KB
17 Apr 2025 8.10 PM
root / root
0644
ndarray_misc.py
2.651 KB
17 Apr 2025 8.10 PM
root / root
0644
ndarray_shape_manipulation.py
0.625 KB
17 Apr 2025 8.10 PM
root / root
0644
numeric.py
1.455 KB
17 Apr 2025 8.10 PM
root / root
0644
numerictypes.py
0.732 KB
17 Apr 2025 8.10 PM
root / root
0644
random.py
60.431 KB
17 Apr 2025 8.10 PM
root / root
0644
scalars.py
3.397 KB
17 Apr 2025 8.10 PM
root / root
0644
simple.py
2.613 KB
17 Apr 2025 8.10 PM
root / root
0644
simple_py3.py
0.094 KB
17 Apr 2025 8.10 PM
root / root
0644
ufunc_config.py
1.094 KB
17 Apr 2025 8.10 PM
root / root
0644
ufunclike.py
1.015 KB
17 Apr 2025 8.10 PM
root / root
0644
ufuncs.py
0.451 KB
17 Apr 2025 8.10 PM
root / root
0644
warnings_and_errors.py
0.146 KB
17 Apr 2025 8.10 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF