Stefan Krah <ste...@bytereef.org> added the comment:

The managed buffer can be shared:

>>> b = b'12345'
>>> m1 = memoryview(b)
>>> m2 = memoryview(m1)
>>> gc.get_referents(m1)[0]
<managedbuffer object at 0x1216fd8>
>>> gc.get_referents(m2)[0]
<managedbuffer object at 0x1216fd8>


And I understood that Dino proposed to share one code instance as a memory 
mapped file for *all* processes.

----------
nosy: +skrah

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

Reply via email to