You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came up with an idea for maybe looking into autogenerating the MultiDict C API for Cython and CPython so that it doesn't end up becoming a burden during development. Tools like clang could search for functions and data to generate and look for certain words to visit over to determine what should be written in a the capsule header-file. I want some opinions about it since I started playing around with the python clang library recently, stub files for it also exist and it works pretty well otherwise an alternative library would be using the cxxheaderparser The tools for generating the C Capsule and Cython code would go in the tools folder and resolving where Python.h is shouldn't be a problem since I already figured that out as well.
importosfrompathlibimportPathdefget_python_h_path():
"""Obtains Python.h's include Path"""returnPath(os.environ["PYTHONPATH"]) /"include"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I came up with an idea for maybe looking into autogenerating the
MultiDict
C API for Cython and CPython so that it doesn't end up becoming a burden during development. Tools like clang could search for functions and data to generate and look for certain words to visit over to determine what should be written in a the capsule header-file. I want some opinions about it since I started playing around with the python clang library recently, stub files for it also exist and it works pretty well otherwise an alternative library would be using the cxxheaderparser The tools for generating the C Capsule and Cython code would go in the tools folder and resolving where Python.h is shouldn't be a problem since I already figured that out as well.Beta Was this translation helpful? Give feedback.
All reactions