Antoine Pitrou added the comment: Ok, so I still have a couple of issues with the proposed API:
- if its purpose is to create a *default* context, create_default_context() shouldn't have that many arguments. The nice thing with contexts is that you can change their parameters later... So basically the function signature should be: create_default_context(purpose, *, cafile, cadata, capath) Also, the default for "purpose" should probably be serverAuth. - "PurposeEKU" is cryptic, please simply "Purpose" or "CertPurpose". ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19689> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com