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.

classification
Title: Del on memoryview crashes CPython
Type: crash Stage: resolved
Components: Interpreter Core Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: dino.viehland, pitrou
Priority: normal Keywords:

Created on 2010-09-01 21:03 by dino.viehland, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg115333 - (view) Author: Dino Viehland (dino.viehland) * (Python committer) Date: 2010-09-01 21:03
x = bytearray(b'abc')
y = memoryview(x)
del y[0:1]

This crashes CPython 3.1.1 and 2.7.
msg115334 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-09-01 21:20
Nice catch, thank you. I've fixed it in r84408 (py3k), r84410 (3.1) and r84411 (2.7).
History
Date User Action Args
2022-04-11 14:57:06adminsetgithub: 53946
2010-09-01 21:20:52pitrousetstatus: open -> closed
stage: resolved
resolution: fixed
versions: + Python 3.2
2010-09-01 21:20:13pitrousetnosy: + pitrou
messages: + msg115334
2010-09-01 21:03:50dino.viehlandcreate