Question: how to extend standard Python library to add new functionalities?

Hi all,
I want to add openssl engine in Python SSL library. I know that if the new functions can be added in Python we can inherit existing class (such as ssl). However, It seems the SSL module extends _SSL module which is written in C. I'm not sure how can I extend SSL module in this situation. Any help would be deeply appreciated!

Daniel,
Your question seems to be a request for help in writing the extension. This list is for discussion and improvement of proposed implementations. For help in writing the code, the python-corementorship list is a better venue.
If your question is for help in designing the extension, and deciding whether to add it to Python's standard library, the python-ideas list is a better venue.
Happy hacking!
daniel.wangksu@gmail.com writes:
Hi all,
I want to add openssl engine in Python SSL library. I know that if the new functions can be added in Python we can inherit existing class (such as ssl). However, It seems the SSL module extends _SSL module which is written in C. I'm not sure how can I extend SSL module in this situation. Any help would be deeply appreciated!
participants (2)
-
daniel.wangksu@gmail.com
-
Stephen J. Turnbull