STINNER Victor added the comment:

2014-03-26 0:35 GMT+01:00 Antoine Pitrou <rep...@bugs.python.org>:
> - they are immutable: you can keep an internal reference to a bytes object 
> and be sure it won't change under your feet

Is it possible to request this feature using PyObject_GetBuffer()? I
don't see such flag.

If it's not possible, a new flag is maybe needed?

----------

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

Reply via email to