Serhiy Storchaka added the comment:

Due to dynamic typing EnumSet actually is not needed in Python. You can use 
sets, tuples or lists for combining enums in new API. IntFlags is needed for 
old API that already uses ints. I think introducing non-int Flags is 
overengineering, can't imagine somebody will use it in new code.

There is no much time left before feature freeze. If general IntFlags will not 
added, I'm going to open separate issues for adding specialized class for every 
particular case (re, os, etc).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23591>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to