This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eli.bendersky
Recipients eli.bendersky, eric.araujo, eric.smith, ezio.melotti, pitrou, terry.reedy
Date 2011-11-12.03:23:47
SpamBayes Score 7.767709e-05
Marked as misclassified No
Message-id <1321068228.69.0.759440101028.issue13385@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-11-12 03:23:48eli.benderskysetrecipients: + eli.bendersky, terry.reedy, pitrou, eric.smith, ezio.melotti, eric.araujo
2011-11-12 03:23:48eli.benderskysetmessageid: <1321068228.69.0.759440101028.issue13385@psf.upfronthosting.co.za>
2011-11-12 03:23:48eli.benderskylinkissue13385 messages
2011-11-12 03:23:47eli.benderskycreate