-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
ENH: Add placeholder stubs for all sub-modules #17104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
1ef217b
ENH: Add placeholder stubs for all sub-modules
caf9722
REV: Removed the (accidently included) builtin `sys` module
e91e31e
REV: Removed two more (accidently included) builtin modules
160a782
REV: Removed one last builtin module
4af8fd3
ENH: Replace module-level `__getattr__` with explicitly defined objects
6d33a65
REV: Removed `compat` and `core` stubs
b67db6b
ENH: Replace module-level `__getattr__` with explicitly defined objects
1a3efc4
ENH: Added placeholder stubs for `distutils` and `f2py`
ced7817
REV: Removed deprecated `ctypeslib` stubs
c8533fd
Revert "REV: Removed deprecated `ctypeslib` stubs"
2ec7afa
DEP: Remove `ctypes_load_library` annotations
1c7c0f0
TST: Remove `compat` and `core` from the tests
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
from typing import Any | ||
|
||
equal: Any | ||
not_equal: Any | ||
greater_equal: Any | ||
less_equal: Any | ||
greater: Any | ||
less: Any | ||
str_len: Any | ||
add: Any | ||
multiply: Any | ||
mod: Any | ||
capitalize: Any | ||
center: Any | ||
count: Any | ||
decode: Any | ||
encode: Any | ||
endswith: Any | ||
expandtabs: Any | ||
find: Any | ||
index: Any | ||
isalnum: Any | ||
isalpha: Any | ||
isdigit: Any | ||
islower: Any | ||
isspace: Any | ||
istitle: Any | ||
isupper: Any | ||
join: Any | ||
ljust: Any | ||
lower: Any | ||
lstrip: Any | ||
partition: Any | ||
replace: Any | ||
rfind: Any | ||
rindex: Any | ||
rjust: Any | ||
rpartition: Any | ||
rsplit: Any | ||
rstrip: Any | ||
split: Any | ||
splitlines: Any | ||
startswith: Any | ||
strip: Any | ||
swapcase: Any | ||
title: Any | ||
translate: Any | ||
upper: Any | ||
zfill: Any | ||
isnumeric: Any | ||
isdecimal: Any | ||
array: Any | ||
asarray: Any |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from typing import Any | ||
|
||
load_library: Any | ||
ndpointer: Any | ||
c_intp: Any | ||
as_ctypes: Any | ||
as_array: Any |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from typing import Any | ||
|
||
# TODO: remove when the full numpy namespace is defined | ||
def __getattr__(name: str) -> Any: ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from typing import Any | ||
|
||
sqrt: Any | ||
log: Any | ||
log2: Any | ||
logn: Any | ||
log10: Any | ||
power: Any | ||
arccos: Any | ||
arcsin: Any | ||
arctanh: Any |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from typing import Any | ||
|
||
run_main: Any | ||
compile: Any | ||
f2py_testing: Any |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from typing import Any | ||
|
||
fft: Any | ||
ifft: Any | ||
rfft: Any | ||
irfft: Any | ||
hfft: Any | ||
ihfft: Any | ||
rfftn: Any | ||
irfftn: Any | ||
rfft2: Any | ||
irfft2: Any | ||
fft2: Any | ||
ifft2: Any | ||
fftn: Any | ||
ifftn: Any | ||
fftshift: Any | ||
ifftshift: Any | ||
fftfreq: Any | ||
rfftfreq: Any |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,177 @@ | ||
from typing import Any | ||
|
||
emath: Any | ||
math: Any | ||
tracemalloc_domain: Any | ||
Arrayterator: Any | ||
iscomplexobj: Any | ||
isrealobj: Any | ||
imag: Any | ||
iscomplex: Any | ||
isreal: Any | ||
nan_to_num: Any | ||
real: Any | ||
real_if_close: Any | ||
typename: Any | ||
asfarray: Any | ||
mintypecode: Any | ||
asscalar: Any | ||
common_type: Any | ||
ravel_multi_index: Any | ||
unravel_index: Any | ||
mgrid: Any | ||
ogrid: Any | ||
r_: Any | ||
c_: Any | ||
s_: Any | ||
index_exp: Any | ||
ix_: Any | ||
ndenumerate: Any | ||
ndindex: Any | ||
fill_diagonal: Any | ||
diag_indices: Any | ||
diag_indices_from: Any | ||
select: Any | ||
piecewise: Any | ||
trim_zeros: Any | ||
copy: Any | ||
iterable: Any | ||
percentile: Any | ||
diff: Any | ||
gradient: Any | ||
angle: Any | ||
unwrap: Any | ||
sort_complex: Any | ||
disp: Any | ||
flip: Any | ||
rot90: Any | ||
extract: Any | ||
place: Any | ||
vectorize: Any | ||
asarray_chkfinite: Any | ||
average: Any | ||
bincount: Any | ||
digitize: Any | ||
cov: Any | ||
corrcoef: Any | ||
msort: Any | ||
median: Any | ||
sinc: Any | ||
hamming: Any | ||
hanning: Any | ||
bartlett: Any | ||
blackman: Any | ||
kaiser: Any | ||
trapz: Any | ||
i0: Any | ||
add_newdoc: Any | ||
add_docstring: Any | ||
meshgrid: Any | ||
delete: Any | ||
insert: Any | ||
append: Any | ||
interp: Any | ||
add_newdoc_ufunc: Any | ||
quantile: Any | ||
column_stack: Any | ||
row_stack: Any | ||
dstack: Any | ||
array_split: Any | ||
split: Any | ||
hsplit: Any | ||
vsplit: Any | ||
dsplit: Any | ||
apply_over_axes: Any | ||
expand_dims: Any | ||
apply_along_axis: Any | ||
kron: Any | ||
tile: Any | ||
get_array_wrap: Any | ||
take_along_axis: Any | ||
put_along_axis: Any | ||
broadcast_to: Any | ||
broadcast_arrays: Any | ||
diag: Any | ||
diagflat: Any | ||
eye: Any | ||
fliplr: Any | ||
flipud: Any | ||
tri: Any | ||
triu: Any | ||
tril: Any | ||
vander: Any | ||
histogram2d: Any | ||
mask_indices: Any | ||
tril_indices: Any | ||
tril_indices_from: Any | ||
triu_indices: Any | ||
triu_indices_from: Any | ||
fix: Any | ||
isneginf: Any | ||
isposinf: Any | ||
pad: Any | ||
poly: Any | ||
roots: Any | ||
polyint: Any | ||
polyder: Any | ||
polyadd: Any | ||
polysub: Any | ||
polymul: Any | ||
polydiv: Any | ||
polyval: Any | ||
poly1d: Any | ||
polyfit: Any | ||
RankWarning: Any | ||
issubclass_: Any | ||
issubsctype: Any | ||
issubdtype: Any | ||
deprecate: Any | ||
deprecate_with_doc: Any | ||
get_include: Any | ||
info: Any | ||
source: Any | ||
who: Any | ||
lookfor: Any | ||
byte_bounds: Any | ||
safe_eval: Any | ||
ediff1d: Any | ||
intersect1d: Any | ||
setxor1d: Any | ||
union1d: Any | ||
setdiff1d: Any | ||
unique: Any | ||
in1d: Any | ||
isin: Any | ||
savetxt: Any | ||
loadtxt: Any | ||
genfromtxt: Any | ||
ndfromtxt: Any | ||
mafromtxt: Any | ||
recfromtxt: Any | ||
recfromcsv: Any | ||
load: Any | ||
loads: Any | ||
save: Any | ||
savez: Any | ||
savez_compressed: Any | ||
packbits: Any | ||
unpackbits: Any | ||
fromregex: Any | ||
DataSource: Any | ||
nansum: Any | ||
nanmax: Any | ||
nanmin: Any | ||
nanargmax: Any | ||
nanargmin: Any | ||
nanmean: Any | ||
nanmedian: Any | ||
nanpercentile: Any | ||
nanvar: Any | ||
nanstd: Any | ||
nanprod: Any | ||
nancumsum: Any | ||
nancumprod: Any | ||
nanquantile: Any | ||
histogram: Any | ||
histogramdd: Any | ||
histogram_bin_edges: Any |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from typing import Any | ||
|
||
matrix_power: Any | ||
solve: Any | ||
tensorsolve: Any | ||
tensorinv: Any | ||
inv: Any | ||
cholesky: Any | ||
eigvals: Any | ||
eigvalsh: Any | ||
pinv: Any | ||
slogdet: Any | ||
det: Any | ||
svd: Any | ||
eig: Any | ||
eigh: Any | ||
lstsq: Any | ||
norm: Any | ||
qr: Any | ||
cond: Any | ||
matrix_rank: Any | ||
LinAlgError: Any | ||
multi_dot: Any |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.