2013/7/4 Ronald Oussoren <ronaldoussoren at mac.com>: >> The PEP 433 proposes adding an "e" mode to open in alternatives. I >> didn't keep this idea because the fopen() function of the GNU libc >> library has no mode for the O_NONBLOCK flag. IMO it is not interesting >> to mention it in the PEP 466. > > I don't understand your reasoning, that is what has GNU libc to do with adding "e" mode to io.open? The GNU libc supports fopen(filename, "re") to set O_CLOEXEC flag on the file. I pick the idea into the PEP 433, in alternatives: open(filename, "re") sets O_CLOEXEC flag on the file. For the PEP 466, I only proposed the original API of the PEP 433: open(filename, "r", cloexec=True). Victor
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4