[issue46625] timeout option of socket.create_connection is not respected

2022-02-03 Thread Nicolas SURRIBAS
New submission from Nicolas SURRIBAS : When passing to socket.create_connection a timeout option above (approximately) 127 seconds, the timeout is not respected. Code to reproduce the issue : import socket from time import monotonic print(socket.getdefaulttimeout()) start = monotonic() try

[issue46284] DirEntry returns invalid values for is_dir and is_file on NFS

2022-01-06 Thread Nicolas SURRIBAS
New submission from Nicolas SURRIBAS : Hello, I bumped into this strange behavior several times when using os.scandir on mounted NFS shares. I'm using Python 3.9.1 >>> path = b'/mnt/nfs_share/sdb1/System Volume Information/' >>> l = list(os.scandir(path)) &