[MacPorts] #64806: multiprocess.shared_memory.SharedMemory name too long

MacPorts noreply at macports.org
Sat Mar 12 04:04:33 UTC 2022


#64806: multiprocess.shared_memory.SharedMemory name too long
---------------------+--------------------
  Reporter:  gma-uw  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------

Comment (by jmroot):

 This appears to be an upstream documentation bug if anything. There's a
 reference in the code to 14 characters being the maximum safe name length
 at least on FreeBSD:
 https://github.com/python/cpython/blob/3.10/Lib/multiprocessing/shared_memory.py#L29

 The underlying posix shared memory API has a name length limit of
 `PSHMNAMLEN`, defined in `sys/posix_shm.h`.

-- 
Ticket URL: <https://trac.macports.org/ticket/64806#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list