sumpfralle added the comment: I experience the same issue on a virtualized server (based on Virtuozzo) with Linux kernel 2.6.32.
The following command fails: echo "import os; os.listdir(os.open('/tmp', os.O_RDONLY))" | python3 Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: [Errno 22] Invalid argument ---------- nosy: +sumpfralle _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23346> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com