New submission from Antoine Pitrou <pit...@free.fr>:

This adds the context manager protocol to memoryview objects, as proposed on 
python-dev. Once the `with` block has finished, the underlying buffer is 
released and any operation on the memoryview raises a ValueError.

----------
components: Interpreter Core
files: memcontext.patch
keywords: patch
messages: 115459
nosy: pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: Add context manager protocol to memoryviews
type: feature request
versions: Python 3.2
Added file: http://bugs.python.org/file18729/memcontext.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9757>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to