[issue19689] ssl.create_default_context()

Antoine Pitrou report at bugs.python.org
Fri Nov 22 15:33:34 CET 2013


Antoine Pitrou added the comment:

> In my opinion enums are for a closed batch of known entities. There
> are at least 20-30 purpose flags, maybe more. Everybody is allowed to
> define their own OIDs, too.

Well, how many purposes are we going to expose? I don't think users
should know what ASN1 objects are, and a nice repr() is really useful.

(but there's no reason an enum cannot have 20 or 30 members)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19689>
_______________________________________


More information about the Python-bugs-list mailing list