[issue8305] memoview[0] creates an invalid view if ndim != 1

2012-03-01 Thread Stefan Krah
Stefan Krah added the comment: Since this issue targeted 2.7 and 3.2: In a brief discussion on python-dev it was decided that the 3.3 fixes from #10181 won't be backported for a number of reasons, see: http://mail.python.org/pipermail/python-dev/2012-February/116872.html -- _

[issue8305] memoview[0] creates an invalid view if ndim != 1

2012-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f9b3b6f7ff0 by Stefan Krah in branch 'default': - Issue #10181: New memoryview implementation fixes multiple ownership http://hg.python.org/cpython/rev/3f9b3b6f7ff0 -- nosy: +python-dev ___ Python track

[issue8305] memoview[0] creates an invalid view if ndim != 1

2012-02-09 Thread Stefan Krah
Stefan Krah added the comment: Fixed in #10181. -- dependencies: -Problems with Py_buffer management in memoryobject.c (and elsewhere?) resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed superseder: -> Problems with Py_buffer management in memor

[issue8305] memoview[0] creates an invalid view if ndim != 1

2011-08-10 Thread Stefan Krah
Stefan Krah added the comment: The crash is fixed in the features/pep-3118 repo: >>> from numpy import array >>> y=array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]) >>> y.shape = 3,4 >>> view=memoryview(y) >>> view2 = view[0] Traceback (most recent call last): File "", line 1, in NotIm

[issue8305] memoview[0] creates an invalid view if ndim != 1

2011-05-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +mark.dickinson versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue8305] memoview[0] creates an invalid view if ndim != 1

2010-04-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'll leave this to our numpy experts. I don't even know how to unit test this without installing numpy. -- assignee: -> teoliphant priority: -> normal stage: -> needs patch ___ Python tracker

[issue8305] memoview[0] creates an invalid view if ndim != 1

2010-04-22 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +benjamin.peterson, georg.brandl, gvanrossum, pitrou, scoder ___ Python tracker ___ ___ Python-bug

[issue8305] memoview[0] creates an invalid view if ndim != 1

2010-04-03 Thread STINNER Victor
STINNER Victor added the comment: According to #2394, the implementation of the new buffer API is not complete. -- nosy: +teoliphant ___ Python tracker ___ __

[issue8305] memoview[0] creates an invalid view if ndim != 1

2010-04-03 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Interpreter Core type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue8305] memoview[0] creates an invalid view if ndim != 1

2010-04-03 Thread STINNER Victor
STINNER Victor added the comment: Full example (using numpy) crashing Python: memoryview_crash.py -- Added file: http://bugs.python.org/file16749/memoryview_crash.py ___ Python tracker _

[issue8305] memoview[0] creates an invalid view if ndim != 1

2010-04-03 Thread STINNER Victor
New submission from STINNER Victor : memory_item() function creates a new memoryview object if ndim is different than 1. Example with numpy: from numpy import array y=array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]) y.shape = 3,4 view=memoryview(y) view2 = view[0] print