| Deutsch English Français Italiano |
|
<vqsplc$2pfdp$3@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.lang.c Subject: Re: Python recompile Date: Wed, 12 Mar 2025 13:09:15 -0700 Organization: A noiseless patient Spider Lines: 44 Message-ID: <vqsplc$2pfdp$3@dont-email.me> References: <vq1qas$j22$1@gallifrey.nk.ca> <vqfcbe$3lkkc$1@dont-email.me> <871pv861ht.fsf@nosuchdomain.example.com> <20250308192940.00001351@yahoo.com> <vqi1ge$8jg8$1@dont-email.me> <vqibt3$ahu0$3@dont-email.me> <vqiibq$bq1o$7@dont-email.me> <20250309012626.00001276@yahoo.com> <vqiugc$dv5o$2@dont-email.me> <vql9fu$vluh$1@dont-email.me> <vqlfrj$10rr4$2@dont-email.me> <vqli6g$114cj$3@dont-email.me> <vqm0b9$179ca$1@dont-email.me> <vqnfvp$1gsl4$2@dont-email.me> <20250310135828.116@kylheku.com> <vqnkdq$1gsl4$6@dont-email.me> <vqnmbn$1i1s0$6@dont-email.me> <vqnmig$1ie8j$2@dont-email.me> <vqns51$1jibk$5@dont-email.me> <vqo5hd$1lant$1@dont-email.me> <vqo9df$1ls6a$2@dont-email.me> <vqoe8o$1qblf$1@dont-email.me> <vqolqv$1rfnf$5@dont-email.me> <vqq8v2$262gq$1@dont-email.me> <vqqf3r$273mt$6@dont-email.me> <vqqjra$286h8$2@dont-email.me> <vqqlff$28fls$7@dont-email.me> <vqqtjv$2a3dv$1@dont-email.me> <vqqu21$2a18r$3@dont-email.me> <vqr25u$2eit2$1@dont-email.me> <vqras6$2fsqk$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 12 Mar 2025 21:09:17 +0100 (CET) Injection-Info: dont-email.me; posting-host="2ef4e7aaa99a36084a927a6ac123e306"; logging-data="2932153"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/T0kW9TyHuXBMYcNasrZSqSSqwSXXTong=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:x/LfvzMgpm9LX8CvuepvXvJwX14= In-Reply-To: <vqras6$2fsqk$1@dont-email.me> Content-Language: en-US Bytes: 3747 On 3/11/2025 11:50 PM, Lawrence D'Oliveiro wrote: > On Tue, 11 Mar 2025 21:22:22 -0700, Chris M. Thomasson wrote: > >> On 3/11/2025 8:12 PM, Lawrence D'Oliveiro wrote: >> >>> On Tue, 11 Mar 2025 20:04:30 -0700, Chris M. Thomasson wrote: >>> >>>> IOCP works fine ... >>> >>> But not with pipes. >> >> Never tried them with pipes, only sockets. > > The Python developers have tried. They ended up creating two event > loop implementations on Windows, neither of which quite covers all the > bases > <https://docs.python.org/3/library/asyncio-eventloop.html#event-loop-implementations>. > > According to the platform support notes > <https://docs.python.org/3/library/asyncio-platforms.html>, > SelectorEventLoop can only handle sockets (and has a limit of 512 of > them), not pipes or subprocesses. ProactorEventLoop uses your > favourite IOCP, but does not allow the addition of reader/writer > callbacks for caller-supplied file descriptors. > > Neither one supports signal handlers. And there seems to be no Windows > equivalent to Unix-style sockets. Uggg. Well, IOCP can wait in an alterable state, but I tended to stay away from APC's. > So on Windows, it’s a question of choosing which one is the least bad > fit for your needs, and hoping you can make that work over your entire > program. That's fine. Well, IOCP works great for my needs. It been a while, but it "served" it's purpose, so to speak. And that's okay, for me. A bit selfish, indeed? ;^) There is an older paper that talks about the 50,000 concurrent connection issue on the windozer. It was a great read, and taught me a lot. IOCP handles them fine. Humm, I wonder if I can find that sucker. Perhaps its on the waybackmachine...