forked from upstream/UXP-mirror
reduce is moved to functools, urllib reogranized. 2to3 . --fix urllib -wpn 2to3 . --fix reduce -wpn 2to3 . --fix import -wpn 2to3 . --fix imports -wpn 2to3 . --fix imports2 -wpn Ref: PEP 3108, PEP 3100 https://peps.python.org/pep-3108/ https://peps.python.org/pep-3100/
macholib can be used to analyze and edit Mach-O headers, the executable format used by Mac OS X. It's typically used as a dependency analysis tool, and also to rewrite dylib references in Mach-O headers to be @executable_path relative. Though this tool targets a platform specific file format, it is pure python code that is platform and endian independent.