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 serhiy.storchaka
Recipients barry, eli.bendersky, ethan.furman, ezio.melotti, martin.panter, r.david.murray, serhiy.storchaka, veky
Date 2016-08-15.05:52:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471240378.21.0.870404260963.issue23591@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think this is a problem. For now os.O_WRONLY is os.O_WRONLY, but os.O_WRONLY|os.O_CREAT|os.O_TRUNC is not os.O_WRONLY|os.O_CREAT|os.O_TRUNC. There is an exponential number of combinations (actually infinite number if count not named bits) and you shouldn't use identity check for flags.
History
Date User Action Args
2016-08-15 05:52:58serhiy.storchakasetrecipients: + serhiy.storchaka, barry, ezio.melotti, r.david.murray, eli.bendersky, ethan.furman, martin.panter, veky
2016-08-15 05:52:58serhiy.storchakasetmessageid: <1471240378.21.0.870404260963.issue23591@psf.upfronthosting.co.za>
2016-08-15 05:52:58serhiy.storchakalinkissue23591 messages
2016-08-15 05:52:57serhiy.storchakacreate