U ifD @ s d Z ddgZddlmZ ddlZddlZddlZddlZddlZej dkrXddl Z dZnddlZdZej ejB Zd Zer~d ZndZdd ZG dd dZdZG dd dZdS )zProvides shared memory for direct access across processes. The API of this package is currently provisional. Refer to the documentation for details. SharedMemory ShareableList )partialNntFT z/psm_Zwnsm_c C s" t tt d } tt| }|S )z6Create a random filename for the shared memory object. )_SHM_SAFE_NAME_LENGTHlen_SHM_NAME_PREFIXsecretsZ token_hex)nbytesname r B/opt/alt/python38/lib64/python3.8/multiprocessing/shared_memory.py_make_filename&