ocebuild.third_party.cpython.plistlib#

Overrides the plistlib module to support backports and custom subclasses.

Module Contents#

Classes#

UID

A plistlib.UID subclass that enforces a 32-bit limit on the UID value.

class ocebuild.third_party.cpython.plistlib.UID(data)[source]#

Bases: plistlib.UID

A plistlib.UID subclass that enforces a 32-bit limit on the UID value.

Apple handles UIDs assuming 32-bit unsigned integers:

The original plistlib.UID class does not enforce this limit, so we must override the constructor to ensure the value is within the 32-bit limit.