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 alexandre.vassalotti
Recipients alexandre.vassalotti, vstinner
Date 2014-01-28.23:45:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390952730.76.0.147272441759.issue20428@psf.upfronthosting.co.za>
In-reply-to
Content
The _Py_open function in Python/fileutils.c cannot be given correctly the flag O_CREAT. According to the POSIX spec, open(2) _must_ be given an additional mode argument when O_CREAT is used.

_Py_open should be fixed to either to use a reasonable default value for the mode argument (e.g., O666) or to refuse the O_CREAT flag.
History
Date User Action Args
2014-01-28 23:45:30alexandre.vassalottisetrecipients: + alexandre.vassalotti, vstinner
2014-01-28 23:45:30alexandre.vassalottisetmessageid: <1390952730.76.0.147272441759.issue20428@psf.upfronthosting.co.za>
2014-01-28 23:45:30alexandre.vassalottilinkissue20428 messages
2014-01-28 23:45:30alexandre.vassalotticreate