STINNER Victor added the comment: I tried on my Fedora 20 (Linux, kernel 3.14.8-200.fc20.x86_64) and I'm unable to reproduce the issue.
$ sudo mkdir /test $ sudo chown haypo: /test $ echo "/test *(rw)" >> /etc/exports $ sudo exportfs -af $ sudo mount -t nfs localhost:/test nfs $ cat > x.py <copy/paste the code from the first message of this issue> $ python x.py (unnamed) OK (named) OK $ mount|grep nfs localhost:/test on /home/haypo/nfs type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp6,port=0,timeo=600,retrans=2,sec=sys,clientaddr=::1,local_lock=none,addr=::1) $ python -V Python 2.7.5 ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22326> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com