This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author davin
Recipients brett.cannon, davin, eric.snow, giampaolo.rodola, lukasz.langa, nascheme, osvenskan, pitrou, pmpp, rhettinger, ronaldoussoren, skrah, terry.reedy, yselivanov
Date 2019-02-16.16:47:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

> Maybe something like this instead?
>      SharedMemory(name=None, attach_if_exists=False, size=0)

I think this misses the use case when wanting to ensure we only attach to an existing shared memory block and if it does not exist, we should raise an exception because we can not continue.  (If the shared memory block should already be there but it is not, this means something bad happened earlier and we might not know how to recover here.)

I believe the two dominant use cases to address are:
1) I want to create a shared memory block (either with or without a pre-conceived name).
2) I want to attach to an existing shared memory block by its unique name.
Date User Action Args
2019-02-16 16:47:11davinsetrecipients: + davin, brett.cannon, nascheme, rhettinger, terry.reedy, ronaldoussoren, pitrou, osvenskan, giampaolo.rodola, skrah, pmpp, lukasz.langa, eric.snow, yselivanov
2019-02-16 16:47:11davinsetmessageid: <>
2019-02-16 16:47:11davinlinkissue35813 messages
2019-02-16 16:47:11davincreate