Danny Yoo added the comment:

Ugh.  I suddenly realize that this is complicated by the fact that flag values 
are themselves represented as integers, and Python's type system isn't rich 
enough to label flag values as a distinct type for the purposes.

It may be worthwhile to add a warning in the documentation about this, as it is 
an easy mistake to make.

----------

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

Reply via email to