Author ronaldoussoren
Recipients christian.heimes, davin, ned.deily, pitrou, ronaldoussoren, vinay0410
Date 2020-08-12.14:07:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597241266.57.0.0895941210571.issue39584@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-08-12 14:07:46ronaldoussorensetrecipients: + ronaldoussoren, pitrou, christian.heimes, ned.deily, davin, vinay0410
2020-08-12 14:07:46ronaldoussorensetmessageid: <1597241266.57.0.0895941210571.issue39584@roundup.psfhosted.org>
2020-08-12 14:07:46ronaldoussorenlinkissue39584 messages
2020-08-12 14:07:46ronaldoussorencreate