{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","python"],"comment":"Python cross-version byte-code disassembler and marshal routines","compare":"/compare/py312-xdis/index.json","dependentCount":null,"description":"The Python dis module allows you to disassemble bytecode from the same version\nof Python that you are running on. But what about bytecode from different\nversions?\n\nThat's what this package is for. It can \"marshal load\" Python bytecodes from\ndifferent versions of Python. The command-line routine pydisasm will show\ndisassembly output using Python 3.6 disassembly conventions.\n\nAlso, if you need to modfiy and write bytecode, the routines here can be of\nhelp. There are routines to pack and unpack the read-only tuples in Python's\nCode type. For interoperability between Python 2 and 3 we provide our own\nversions of the Code type, and we provide routines to reduce the tedium in\nwriting a bytecode file.\n\nThis package also has an extensive knowledge of Python bytecode magic numbers,\nincluding Pypy and others, and how to translate from sys.sys_info major, minor,\nand release numbers to the corresponding magic value.\n\nSo If you want to write a cross-version assembler, or a bytecode-level\noptimizer this package may also be useful. In addition to the kinds of\ninstruction categorization that dis offers, we have additional categories for\nthings that would be useful in such a bytecode optimizer.","flavors":[{"comment":"Python cross-version byte-code disassembler and marshal routines","pkgName":"py312-xdis-6.3.0"},{"comment":"Python cross-version byte-code disassembler and marshal routines","pkgName":"py313-xdis-6.3.0"},{"comment":"Python cross-version byte-code disassembler and marshal routines","pkgName":"py314-xdis-6.3.0"}],"html":"https://daemonports.org/netbsd/devel/py-xdis/","kind":"port","lastUpdate":null,"license":["gnu-gpl-v2"],"maintainer":"pkgsrc-users@NetBSD.org","name":"py311-xdis","newest":true,"newestVersion":"6.3.0","noVulnData":false,"origin":"devel/py-xdis","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/py-xdis","path":"/devel/py-xdis/","system":"FreeBSD","updated":"2026-09-30","version":"6.3.0"},{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"devel/py-xdis","path":"/openbsd/devel/py-xdis/","system":"OpenBSD","updated":"2026-08-11","version":"6.3.0p0"},{"behindSince":"2026-09-30","maintainer":"sunpoet@FreeBSD.org","origin":"devel/py-xdis","path":"/dragonfly/devel/py-xdis/","system":"DragonFly","version":"6.1.3"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-xdis","path":"","system":"HardenedBSD","version":"6.3.0"},{"behindSince":"2026-09-30","maintainer":"sunpoet@FreeBSD.org","noVulnData":true,"origin":"devel/py-xdis","path":"","system":"GhostBSD","version":"6.1.8"}],"packages":[{"repo":"NetBSD 10.1 x86_64","versions":["6.3.0"]},{"repo":"NetBSD 10.1 aarch64","versions":["6.3.0"]},{"repo":"SmartOS / illumos x86_64","versions":["6.3.0"]},{"repo":"macOS 15 arm64","versions":["6.3.0"]}],"pkgName":"py311-xdis-6.3.0","related":["devel/py-bech32"],"repository":"pkgsrc","requiredBy":["lang/py-uncompyle6"],"requiredByCount":1,"runDepends":["devel/py-click","lang/py-six","lang/python311"],"status":null,"system":"netbsd","systemLabel":"NetBSD","version":"6.3.0","versions":null,"vulnerabilities":null,"www":"https://github.com/rocky/python-xdis"}
