> On 01-Aug-2020, at 1:31 AM, Marco Sulla <marco.sulla.pyt...@gmail.com> wrote: > > On Thu, 30 Jul 2020 at 12:57, Vinay Sharma via Python-ideas > <python-ideas@python.org <mailto:python-ideas@python.org>> wrote: > Python has support for atomic types, I guess: > Atomic Int: > https://github.com/python/cpython/blob/master/Include/internal/pycore_atomic.h#L80 > > <https://github.com/python/cpython/blob/master/Include/internal/pycore_atomic.h#L80> > Atomic Store: > https://github.com/python/cpython/blob/master/Include/internal/pycore_atomic.h#L94 > > <https://github.com/python/cpython/blob/master/Include/internal/pycore_atomic.h#L94> > > > You could also use immutables: > https://nextjournal.com/schmudde/adventures-in-immutable-python > <https://nextjournal.com/schmudde/adventures-in-immutable-python> Could you please elaborate a bit more on this ? I think your idea is to store data in Plasma store, but what exactly are you suggesting I store ? As far as I understand plasma store is used to store immutable objects, but neither python’s shared_memory API stored immutable objects, not the locking mechanism discussed would store immutable locks.
> _______________________________________________ > Python-ideas mailing list -- python-ideas@python.org > To unsubscribe send an email to python-ideas-le...@python.org > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/python-ideas@python.org/message/URLHX7IEK6NRCUCN3K647JTDCIRK5ZAT/ > Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/6VHDMDVMPYDCCOJIC5CUJ2PA6IKSV4K6/ Code of Conduct: http://python.org/psf/codeofconduct/