A place for internal code
Some things are more easily handled Python.
Constant | IS_PYPY |
Undocumented |
Variable | ctypes |
Undocumented |
Variable | format_re |
Undocumented |
Variable | sep_re |
Undocumented |
Variable | space_re |
Undocumented |
Class | _ctypes |
No class docstring; 4/4 properties, 0/4 instance variable, 7/8 methods documented |
Class | _missing_ctypes |
Undocumented |
Class | _Stream |
Undocumented |
Class | dummy_ctype |
Undocumented |
Function | __dtype_from_pep3118 |
Undocumented |
Function | _add_trailing_padding |
Inject the specified number of padding bytes at the end of a dtype |
Function | _array_descr |
Undocumented |
Function | _commastring |
Undocumented |
Function | _copy_fields |
Return copy of structured array with padding between fields removed. |
Function | _dtype_from_pep3118 |
Undocumented |
Function | _fix_names |
Replace names which are None with the next unused f%d name |
Function | _gcd |
Calculate the greatest common divisor of a and b |
Function | _getfield_is_safe |
Checks safety of getfield for object arrays. |
Function | _getintp_ctype |
Undocumented |
Function | _lcm |
Undocumented |
Function | _makenames_list |
Undocumented |
Function | _newnames |
Given a datatype and an order object, return a new names tuple, with the order indicated |
Function | _prod |
Undocumented |
Function | _reconstruct |
Undocumented |
Function | _ufunc_doc_signature_formatter |
Builds a signature string which resembles PEP 457 |
Function | _usefields |
Undocumented |
Function | _view_is_safe |
Checks safety of a view involving object arrays, for example when doing: |
Function | array_function_errmsg_formatter |
Format the error message for when __array_ufunc__ gives up. |
Function | array_ufunc_errmsg_formatter |
Format the error message for when __array_ufunc__ gives up. |
Function | npy_ctypes_check |
Undocumented |
Variable | _convorder |
Undocumented |
Variable | _nbo |
Undocumented |
Variable | _pep3118_native_map |
Undocumented |
Variable | _pep3118_native_typechars |
Undocumented |
Variable | _pep3118_standard_map |
Undocumented |
Variable | _pep3118_standard_typechars |
Undocumented |
Variable | _pep3118_unsupported_map |
Undocumented |
Return copy of structured array with padding between fields removed.
Checks safety of getfield for object arrays.
As in _view_is_safe, we need to check that memory containing objects is not reinterpreted as a non-object datatype and vice versa.
Builds a signature string which resembles PEP 457
This is used to construct the first line of the docstring
Checks safety of a view involving object arrays, for example when doing:
np.zeros(10, dtype=oldtype).view(newtype)