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 <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