On Sun, Jun 02, 2019 at 02:38:21AM +0000, Inada Naoki wrote:
> What instance means? code object? co_code?
> Anyway, Dino didn't propose such thing. He only proposed accepting buffer object for code constructor.
> He didn't describe how to use buffer object. Python doesn't provide share buffer object inter processes.
He did, at a high level. in the original mail:
"If code objects supported the buffer protocol it would be possible to load
code from a memory mapped file which is shared across all of the processes."
It is not very detailed, but gives the rationale. I assumed that the
new shared memory support would be used, but it would be nice to hear
more details. |