[issue15986] memoryview: expose 'buf' attribute

Antoine Pitrou report at bugs.python.org
Thu Jul 31 17:26:30 CEST 2014


Antoine Pitrou added the comment:

Le 31/07/2014 11:24, David Beazley a écrit :
>
> Well, a lot of things in this big bad world are dangerous. Don't see
how this is any more dangerous than all of the peril that tools like
ctypes and llvmpy already provide.

The point of the buffer API is to make memory access *less* dangerous 
than with the perilous tools, though.

Otherwise we might as well decide that Python crashes because C crashes :-)

(as for llvmpy, I think its implementation deserves to die)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15986>
_______________________________________


More information about the Python-bugs-list mailing list