Re: Something's wrong with accept()

2025-04-05 Thread B Harder
> On Apr 2, 2025, at 12:07, Adam wrote: > > On the recent -current [1], something is wrong with accept(). This Python > script fails: > > ``` > import socket > > socket_path = "/tmp/my_unix_socket" > server = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) > server.bind(socket_path) > se

Re: Something's wrong with accept()

2025-04-05 Thread B Harder
> On Apr 2, 2025, at 15:38, B Harder wrote: > >  > >> On Apr 2, 2025, at 12:07, Adam wrote: >> >> On the recent -current [1], something is wrong with accept(). This Python >> script fails: >> >> ``` >> import socket >> >> socket_path = "/tmp/my_unix_socket" >> server = socket.socket(so

Something's wrong with accept()

2025-04-02 Thread Adam
On the recent -current [1], something is wrong with accept(). This Python script fails: ``` import socket socket_path = "/tmp/my_unix_socket" server = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) server.bind(socket_path) server.listen(5) connection, client_address = server.accept() ``` wit