
On 30 January 2013 16:56, Serhiy Storchaka <storchaka@gmail.com> wrote:
On 30.01.13 18:23, Antoine Pitrou wrote:
TypeFlag.HAS_GC | TypeFlag.INT_SUBCLASS
6
I prefer something like
TypeFlag.HAS_GC | TypeFlag.INT_SUBCLASS TypeFlag.HAS_GC|INT_SUBCLASS
Indeed - the whole benefit (pretty much) of using an Enum class is that you're no longer dealing with raw ints. Michael
______________________________**_________________ Python-ideas mailing list Python-ideas@python.org http://mail.python.org/**mailman/listinfo/python-ideas<http://mail.python.org/mailman/listinfo/python-ideas>
-- http://www.voidspace.org.uk/ May you do good and not evil May you find forgiveness for yourself and forgive others May you share freely, never taking more than you give. -- the sqlite blessing http://www.sqlite.org/different.html