Giampaolo Rodola' <g.rod...@gmail.com> added the comment:

> It looks like it does skip calling ftruncate() if size is 0. From 
> posixshmem.c:

Let me rephrase: are we forced to specify a value (aka call ftruncate()) on 
create ? If we are as I think, could size have a reasonable default value 
instead of 0? Basically I'm wondering if we can relieve the common user from 
thinking about what size to use, mostly because it's sort of a low level 
detail. Could it perhaps default to mmap.PAGESIZE?

----------

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

Reply via email to