Path: ...!weretis.net!feeder9.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Python (was Re: I did not inhale) Date: Sun, 18 Aug 2024 23:18:01 -0000 (UTC) Organization: A noiseless patient Spider Lines: 10 Message-ID: References: <20240408075547.000061e8@gmail.com> <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org> <87il0lldf8.fsf@tudado.org> <20240815182717.189@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 19 Aug 2024 01:18:01 +0200 (CEST) Injection-Info: dont-email.me; posting-host="ef7435e5787fcab0adf5f487629d6274"; logging-data="2697785"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18iYTFxkhZutZASU7mdig+h" User-Agent: Pan/0.159 (Vovchansk; ) Cancel-Lock: sha1:vZjy6M9oQgjKxRZhYFPOkcBBD+k= Bytes: 2309 On Sun, 18 Aug 2024 18:13:37 +0200, Dmitry A. Kazakov wrote: > Windows did many things wrong, but accessing file descriptors by numbers > is beyond even Windows. In Windows a file is an OS object. You access it > getting an opaque handle to. Note that a handle can be marshaled from > one process to another. Try that with process-local numbers! Actually, that is a standard feature of “Unix” sockets, as available on Linux, the BSDs, and all the other *nixes: being able to pass file descriptors for open files from one process to another.