Ronald Oussoren <ronaldousso...@mac.com> added the comment:

A workaround in the implementation of multiprocessing.SharedMemory is IMHO 
acceptable, tweaking os.ftruncate less so.

Note that a Python script can already cause problems on systems by using APIs 
as intended (such as using shutil.rmtree on the user's home directory).

There's balance between compensating for platform deviancies and having clean 
and performant implementation. 

BTW. We should file an issue with Apple about this. I'll do so when I've had 
time to crash a test VM using the C code you provided.

----------

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

Reply via email to