Davin Potts <pyt...@discontinuity.net> added the comment:

A shared semaphore approach for the resource tracker sounds appealing as a way 
to make the behavior on Windows and posix systems more consistent.  However 
this might get implemented, we should not artificially prevent users from 
having some option to persist beyond the last Python process's exit.

I like the point that @eryksun makes that we could instead consider using 
NtMakePermanentObject on Windows to permit more posix-like behavior instead, 
but I do not think we want to head down a path of using undocumented NT APIs.

In the current code, the resource tracker inappropriately triggers 
_posixshmem.shm_unlink; we need to fix this in the immediate short term (before 
3.8 is released) as it breaks the expected behavior @vinay0410 describes.

----------

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

Reply via email to