Eli Bendersky <eli...@gmail.com> added the comment:

Antoine, what's the outcome of people wondering about the difference? I don't 
see what's bad about it, it's not as if people are writing (or supposed to 
write) code that does arithmetic on these flag values. Their only usage is to:

1. Provide no flags
2. Provide a single flag
3. Provide a few flags ORed together

The "OR" (which makes no mathematical sense in this case) is bad enough, but 
why not provide an easy fix for (1), making it explicit instead of implicit. I 
think we sometimes forget that not everyone who picks up Python is an old C 
dog, familiar with these tricks. To newbies for whom Python is the first 
language, these flags aren't very intuitive to use, I imagine.

----------

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

Reply via email to