-
### Is your feature request related to a problem? Please describe.
In my code, I would like to do the following
```cython
cimport numpy as np
cpdef np.uint32_t g(np.uint32_t[:] m):
cdef np.uin…
-
### Problem Description
Currently, we cannot use memoryview in SageMath because of what appears to be a cython bug: https://github.com/cython/cython/issues/6442
As recommended in [cython documenta…
-
# Bug report
### Bug description:
The `memoryview` builtin is registered as a `Sequence`, but doesn't implement the full API, because it doesn't inherit from `Sequence` at runtime and doesn't implem…
-
### Describe the feature and motivation
Currently Python OpenCV uses np.ndarray objects as inputs when cv::Mats are expected, in order to use memoryview directly on Python one needs to cast it to a n…
-
It seems `memoryview` has no `cast()` method in MicroPython, has it?
Is there another way to create a memoryview out of an `array.array('h', array_size)` that results in a bytearray-like memory vie…
Peque updated
1 month ago
-
### Describe your issue
Tried the naive approach to convert a typed `memoryview` to a `tuple`. However noticed that the C code generated handled the typed `memoryview` like a generic Python sequence,…
-
# Feature or enhancement
### Proposal:
It should be possible to easily make memoryview objects from pointer-able ctypes objects with an arbitrary length. In the same way we can currently use `ctypes…
-
### Checklist
- [X] Checked the issue tracker for similar issues to ensure this is not a duplicate
- [X] Read the documentation to confirm the issue is not addressed there and your configuration i…
-
### Describe the bug
1. Create setup.py
```python
from Cython.Build import cythonize
import Cython.Compiler.Options
Cython.Compiler.Options.embed_pos_in_docstring = True
from setuptools…
-
When having `sys.stderr.buffer.write(memoryview(b'test\n'))` in a WSGI script, it fails with “TypeError: write() argument 1 must be read-only bytes-like object, not memoryview”.
On mod_wsgi, `sys.s…