SILENT KILLERPanel

Current Path: > > opt > cloudlinux > venv > lib > python3.11 > site-packages > numpy > typing > tests > data > fail >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/typing/tests/data/fail/

NameTypeSizeLast ModifiedActions
arithmetic.pyi File 3850 bytes April 17 2025 13:10:58.
array_constructors.pyi File 1089 bytes April 17 2025 13:10:58.
array_like.pyi File 455 bytes April 17 2025 13:10:58.
array_pad.pyi File 132 bytes April 17 2025 13:10:58.
arrayprint.pyi File 549 bytes April 17 2025 13:10:58.
arrayterator.pyi File 480 bytes April 17 2025 13:10:58.
bitwise_ops.pyi File 515 bytes April 17 2025 13:10:58.
char.pyi File 2615 bytes April 17 2025 13:10:58.
chararray.pyi File 2296 bytes April 17 2025 13:10:58.
comparisons.pyi File 888 bytes April 17 2025 13:10:58.
constants.pyi File 286 bytes April 17 2025 13:10:58.
datasource.pyi File 395 bytes April 17 2025 13:10:58.
dtype.pyi File 334 bytes April 17 2025 13:10:58.
einsumfunc.pyi File 539 bytes April 17 2025 13:10:58.
false_positives.pyi File 366 bytes April 17 2025 13:10:58.
flatiter.pyi File 843 bytes April 17 2025 13:10:58.
fromnumeric.pyi File 5591 bytes April 17 2025 13:10:58.
histograms.pyi File 367 bytes April 17 2025 13:10:58.
index_tricks.pyi File 509 bytes April 17 2025 13:10:58.
lib_function_base.pyi File 2081 bytes April 17 2025 13:10:58.
lib_polynomial.pyi File 913 bytes April 17 2025 13:10:58.
lib_utils.pyi File 276 bytes April 17 2025 13:10:58.
lib_version.pyi File 158 bytes April 17 2025 13:10:58.
linalg.pyi File 1322 bytes April 17 2025 13:10:58.
memmap.pyi File 159 bytes April 17 2025 13:10:58.
modules.pyi File 652 bytes April 17 2025 13:10:58.
multiarray.pyi File 1693 bytes April 17 2025 13:10:58.
ndarray.pyi File 405 bytes April 17 2025 13:10:58.
ndarray_misc.pyi File 1372 bytes April 17 2025 13:10:58.
nditer.pyi File 325 bytes April 17 2025 13:10:58.
nested_sequence.pyi File 427 bytes April 17 2025 13:10:58.
npyio.pyi File 780 bytes April 17 2025 13:10:58.
numerictypes.pyi File 276 bytes April 17 2025 13:10:58.
random.pyi File 2830 bytes April 17 2025 13:10:58.
rec.pyi File 704 bytes April 17 2025 13:10:58.
scalars.pyi File 2952 bytes April 17 2025 13:10:58.
shape_base.pyi File 152 bytes April 17 2025 13:10:58.
stride_tricks.pyi File 315 bytes April 17 2025 13:10:58.
testing.pyi File 1370 bytes April 17 2025 13:10:58.
twodim_base.pyi File 899 bytes April 17 2025 13:10:58.
type_check.pyi File 379 bytes April 17 2025 13:10:58.
ufunc_config.pyi File 733 bytes April 17 2025 13:10:58.
ufunclike.pyi File 679 bytes April 17 2025 13:10:58.
ufuncs.pyi File 1347 bytes April 17 2025 13:10:58.
warnings_and_errors.pyi File 174 bytes April 17 2025 13:10:58.

Reading File: //opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/typing/tests/data/fail//arithmetic.pyi

from typing import Any
import numpy as np

b_ = np.bool_()
dt = np.datetime64(0, "D")
td = np.timedelta64(0, "D")

AR_b: np.ndarray[Any, np.dtype[np.bool_]]
AR_u: np.ndarray[Any, np.dtype[np.uint32]]
AR_i: np.ndarray[Any, np.dtype[np.int64]]
AR_f: np.ndarray[Any, np.dtype[np.float64]]
AR_c: np.ndarray[Any, np.dtype[np.complex128]]
AR_m: np.ndarray[Any, np.dtype[np.timedelta64]]
AR_M: np.ndarray[Any, np.dtype[np.datetime64]]

ANY: Any

AR_LIKE_b: list[bool]
AR_LIKE_u: list[np.uint32]
AR_LIKE_i: list[int]
AR_LIKE_f: list[float]
AR_LIKE_c: list[complex]
AR_LIKE_m: list[np.timedelta64]
AR_LIKE_M: list[np.datetime64]

# Array subtraction

# NOTE: mypys `NoReturn` errors are, unfortunately, not that great
_1 = AR_b - AR_LIKE_b  # E: Need type annotation
_2 = AR_LIKE_b - AR_b  # E: Need type annotation
AR_i - bytes()  # E: No overload variant

AR_f - AR_LIKE_m  # E: Unsupported operand types
AR_f - AR_LIKE_M  # E: Unsupported operand types
AR_c - AR_LIKE_m  # E: Unsupported operand types
AR_c - AR_LIKE_M  # E: Unsupported operand types

AR_m - AR_LIKE_f  # E: Unsupported operand types
AR_M - AR_LIKE_f  # E: Unsupported operand types
AR_m - AR_LIKE_c  # E: Unsupported operand types
AR_M - AR_LIKE_c  # E: Unsupported operand types

AR_m - AR_LIKE_M  # E: Unsupported operand types
AR_LIKE_m - AR_M  # E: Unsupported operand types

# array floor division

AR_M // AR_LIKE_b  # E: Unsupported operand types
AR_M // AR_LIKE_u  # E: Unsupported operand types
AR_M // AR_LIKE_i  # E: Unsupported operand types
AR_M // AR_LIKE_f  # E: Unsupported operand types
AR_M // AR_LIKE_c  # E: Unsupported operand types
AR_M // AR_LIKE_m  # E: Unsupported operand types
AR_M // AR_LIKE_M  # E: Unsupported operand types

AR_b // AR_LIKE_M  # E: Unsupported operand types
AR_u // AR_LIKE_M  # E: Unsupported operand types
AR_i // AR_LIKE_M  # E: Unsupported operand types
AR_f // AR_LIKE_M  # E: Unsupported operand types
AR_c // AR_LIKE_M  # E: Unsupported operand types
AR_m // AR_LIKE_M  # E: Unsupported operand types
AR_M // AR_LIKE_M  # E: Unsupported operand types

_3 = AR_m // AR_LIKE_b  # E: Need type annotation
AR_m // AR_LIKE_c  # E: Unsupported operand types

AR_b // AR_LIKE_m  # E: Unsupported operand types
AR_u // AR_LIKE_m  # E: Unsupported operand types
AR_i // AR_LIKE_m  # E: Unsupported operand types
AR_f // AR_LIKE_m  # E: Unsupported operand types
AR_c // AR_LIKE_m  # E: Unsupported operand types

# Array multiplication

AR_b *= AR_LIKE_u  # E: incompatible type
AR_b *= AR_LIKE_i  # E: incompatible type
AR_b *= AR_LIKE_f  # E: incompatible type
AR_b *= AR_LIKE_c  # E: incompatible type
AR_b *= AR_LIKE_m  # E: incompatible type

AR_u *= AR_LIKE_i  # E: incompatible type
AR_u *= AR_LIKE_f  # E: incompatible type
AR_u *= AR_LIKE_c  # E: incompatible type
AR_u *= AR_LIKE_m  # E: incompatible type

AR_i *= AR_LIKE_f  # E: incompatible type
AR_i *= AR_LIKE_c  # E: incompatible type
AR_i *= AR_LIKE_m  # E: incompatible type

AR_f *= AR_LIKE_c  # E: incompatible type
AR_f *= AR_LIKE_m  # E: incompatible type

# Array power

AR_b **= AR_LIKE_b  # E: Invalid self argument
AR_b **= AR_LIKE_u  # E: Invalid self argument
AR_b **= AR_LIKE_i  # E: Invalid self argument
AR_b **= AR_LIKE_f  # E: Invalid self argument
AR_b **= AR_LIKE_c  # E: Invalid self argument

AR_u **= AR_LIKE_i  # E: incompatible type
AR_u **= AR_LIKE_f  # E: incompatible type
AR_u **= AR_LIKE_c  # E: incompatible type

AR_i **= AR_LIKE_f  # E: incompatible type
AR_i **= AR_LIKE_c  # E: incompatible type

AR_f **= AR_LIKE_c  # E: incompatible type

# Scalars

b_ - b_  # E: No overload variant

dt + dt  # E: Unsupported operand types
td - dt  # E: Unsupported operand types
td % 1  # E: Unsupported operand types
td / dt  # E: No overload
td % dt  # E: Unsupported operand types

-b_  # E: Unsupported operand type
+b_  # E: Unsupported operand type

SILENT KILLER Tool