#38895: NEW: py-http-parser -----------------------------+-------------------------------- Reporter: jkrage@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: py-http-parser | -----------------------------+-------------------------------- Comment (by jkrage@…): The C code is embedded within this package, and embedded as the parser.so file under the python site-packages installation. The usage example that the author provides is below, showing the fallback from the C-driven python to the python-native code: # try to import C parser then fallback in pure python parser. try: from http_parser.parser import HttpParser except ImportError: from http_parser.pyparser import HttpParser -- Ticket URL: <https://trac.macports.org/ticket/38895#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X