- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | christian.heimes |
|---|---|
| Recipients | benjamin.peterson, christian.heimes, doko, ned.deily, serhiy.storchaka, skrah, vstinner, ztane |
| Date | 2016-09-14.09:54:05 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1473846846.02.0.639727257565.issue28055@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
memory_hash has to convert buffers unless the buffer is a single-dimensional, C-style and contiguous buffer. A NumPy matrix has more than one dimension, so it must be converted. https://hg.python.org/cpython/file/tip/Objects/memoryobject.c#l2854 if (!MV_C_CONTIGUOUS(self->flags)) { mem = PyMem_Malloc(view->len); if (mem == NULL) { PyErr_NoMemory(); return -1; } if (buffer_to_contiguous(mem, view, 'C') < 0) { PyMem_Free(mem); return -1; } } |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-09-14 09:54:06 | christian.heimes | set | recipients: + christian.heimes, doko, vstinner, benjamin.peterson, ned.deily, skrah, serhiy.storchaka, ztane |
| 2016-09-14 09:54:06 | christian.heimes | set | messageid: <1473846846.02.0.639727257565.issue28055@psf.upfronthosting.co.za> |
| 2016-09-14 09:54:06 | christian.heimes | link | issue28055 messages |
| 2016-09-14 09:54:05 | christian.heimes | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
