-
```
$ cat /etc/*-release | grep \^NAME; python --version; cython --version
NAME="Arch Linux"
Python 3.5.2
Cython version 0.24.1
```
In the code below, you can think of `y` as a one-tu…
-
## 🚀 Feature
Support .tobytes() method on torch.Tensor
## Motivation
If I need to extract the raw bytes from a Tensor, I need to convert to numpy first and then use `tobytes`. It would be nice …
-
**Describe the bug**
When attempting to index a MemoryView using a tuple, the error `Invalid index for memoryview specified, type (int, int)` occurs on compile. However, it is possible to index a…
-
This code fails to compile for me:
```
def test(double[a, object[double, ndim=2](:,:]) b):
if a.shape != b.shape:
print("shape differs")
```
```
Error compiling Cython file:
------------…
-
Hi there , why I cant fwd_media ?
my code is
```
source='0100000084cba20eed00000000000000de7109f106673ef5'
sender.fwd_media(msgSenderId,source)
```
and error is
```…
sae13 updated
6 years ago
-
As far as I understand, memoryview python objects support itemsize and shapes, ndim, strides etc:
https://docs.python.org/3/library/stdtypes.html#memoryview :
```python
# from python docs example…
-
# Bug report
### Bug description:
Searching this error the only reference I find was a [previous conversation](https://bugs.python.org/issue33713) where this issue was considered theoretical and…
-
### Is your feature request related to a problem? Please describe.
```cython
cdef void create_memview(
double *buf,
int n,
) noexcept nogil:
cdef double[::1] view = buf
```
…
-
I'm getting "BufferError: memoryview: underlying buffer is not C-contiguous" when running pyelastix.register on two numpy arrays. Any ideas?
-
I have been using your python-tds in all of my projects that have to connect to mssql server ever since I found it. Love the fact that it is pure python.
I am just starting with django and wanted to …