STINNER Victor added the comment:

ctypes gives you a raw access to the memory. If you try to read unmapped memory 
areas, the program may or may not crash. Usually, you get a segmentation fault.

https://en.wikipedia.org/wiki/Segmentation_fault

Python doesn't provide a portable behaviour on segmentation faults.

Note: You can use faulthandler to get the backtrace on segmentation fault.

----------
nosy: +haypo
resolution:  -> not a bug

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

Reply via email to