Message200664
> Already proposed in issue9757.
Well, it was not only proposed, but it was also implemented (by Antoine).
Python 3.4.0a3+ (default:84a8b797c5c5+, Oct 20 2013, 16:02:32)
[GCC 4.8.1 20130603 (Red Hat 4.8.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> x=memoryview(b'abc')
>>> with x: pass
...
>>> bytes(x)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: operation forbidden on released memoryview object |
|
Date |
User |
Action |
Args |
2013-10-21 00:13:00 | vstinner | set | recipients:
+ vstinner, pitrou, skrah, serhiy.storchaka |
2013-10-21 00:13:00 | vstinner | set | messageid: <1382314380.05.0.635321639176.issue19321@psf.upfronthosting.co.za> |
2013-10-21 00:13:00 | vstinner | link | issue19321 messages |
2013-10-21 00:12:59 | vstinner | create | |
|