Antoine Pitrou added the comment: > > Just catch any OSError? > > If possible, I would prefer to not retry O_TMPFILE each time if the kernel > version does not support the flag.
How likely it is to have a glibc flag that's not supported by the kernel (on a normal setup, not a self-compiled distro)? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21515> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com