def open(self, file, flags, mode=<NUM_LIT>):
if flags & WRITE_FLAGS and not self._ok(file):<EOL><INDENT>self._violation("<STR_LIT>", file, flags, mode)<EOL><DEDENT>return _os.open(file,flags,mode)<EOL>
Called for low-level os.open()