{"added":null,"apiVersion":1,"behindSince":"2026-08-22","buildDepends":[],"categories":["devel","python"],"comment":"Make it easier to extend Python with C++","compare":null,"dependentCount":null,"description":"PyCXX is a set of C++ facilities to make it easier to write Python\nextensions. The chief way in which PyCXX makes it easier to write Python\nextensions is that it greatly increases the probability that your program\nwill not make a reference-counting error and will not have to continually\ncheck error returns from the Python C API.\n\nPyCXX integrates Python with C++ in these ways:\n   - C++ exception handling is relied on to detect errors and clean up. In\n     a complicated function this is often a tremendous problem when writing\n     in C. With PyCXX, we let the compiler keep track of what objects need\n     to be dereferenced when an error occurs.\n   - The Standard Template Library (STL) and its many algorithms plug and\n     play with Python containers such as lists and tuples.\n   - The optional CXX_Extensions facility allows you to replace the clumsy\n     C tables with objects and method calls that define your modules and\n     extension objects.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/py-cxx/","kind":"port","lastUpdate":null,"license":["BSD3CLAUSE"],"maintainer":"lwhsu@FreeBSD.org","name":"py311-cxx","newest":false,"newestVersion":"7.2.0","noVulnData":false,"origin":"devel/py-cxx","otherSystems":[{"maintainer":"lwhsu@FreeBSD.org","newest":true,"origin":"devel/py-cxx","path":"/devel/py-cxx/","system":"FreeBSD","updated":"2026-08-22","version":"7.2.0"},{"maintainer":"lwhsu@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-cxx","path":"","system":"HardenedBSD","version":"7.2.0"},{"maintainer":"lwhsu@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-cxx","path":"","system":"GhostBSD","version":"7.2.0"}],"packages":null,"pkgName":"py311-cxx-7.1.8_1","related":null,"repository":"DPorts","requiredBy":[],"requiredByCount":0,"runDepends":["lang/python311"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"7.1.8_1","versions":null,"vulnerabilities":null,"www":"https://cxx.sourceforge.net"}
