Jesús Cea Avión added the comment:

You could even use "ctypes" to access the underlining "mmap" OS syscall. But 
accessing individual bytes using native python is not guaranteed to work 
because python is too high level for that. For instance, it could read 64 bits 
(a word) to only use 8 at the end.

I recommend you to write a tiny C module or investigate "ctypes"/"CFFI" pointer 
access to a native mmap-ed area.

Good luck.

----------

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

Reply via email to