With the addition of shared memory into Python 3.8, we now have three tests failing on Solaris, namely `test_multiprocessing_fork`, `test_multiprocessing_forkserver` and `test_multiprocessing_spawn`. The reason seems to be incorrect name handling which results in two slashes being prepended.
https://bugs.python.org/issue37558
# Create a shared_memory segment, and send the segment name
sm = shared_memory.SharedMemory(create=True, size=10)
- sys.stdout.write(sm._name + '\\n')
+ sys.stdout.write(sm.name + '\\n')
sys.stdout.flush()
time.sleep(100)
'''
--- /dev/null
+Fix test_shared_memory_cleaned_after_process_termination name handling