First attempt at porting app_python to app_python3.
Mostly symbols names are the same as app_python so these two
modules cannot be loaded together. Exported functions are identical so
in theory scripts need not change.
TODO: reenable thread management
Pre-Submission Checklist
Type Of Change
Checklist:
Description
- add app_python3 module
- this is a direct port of app_python and aims for feature equivalence
- script reload does not work yet
- disable thread management; fortunately kamailio does not use threads; as the Py3 API is too different;
trying to avoid deprecated APIs like PyEval_AcquireLock().
- TODO: need to reenable threads: use case is python extension module that uses native threads (e.g. gRPC)
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1447
Commit Summary
- app_python3: first release
File Changes
Patch Links:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.