Interactive scripts (back on topic for once) [was Re: The "loop and a half"]

Grant Edwards grant.b.edwards at gmail.com
Fri Oct 6 14:33:59 EDT 2017


On 2017-10-06, Marko Rauhamaa <marko at pacujo.net> wrote:

> The reason a daemon usually opens dummy file descriptors for the 0, 1
> and 2 slots is to avoid accidents. Some library might assume the
> existence of those file descriptors. For example, I often see GTK print
> out diagnositic messages.

I run a lot of GTK programs from the command line, and I would say 90%
or more of them spew a steady stream of meaningless (to the user)
diagnostic messages.  That's pretty sloppy programming if you ask
me...

-- 
Grant Edwards               grant.b.edwards        Yow! I've got a COUSIN
                                  at               who works in the GARMENT
                              gmail.com            DISTRICT ...




More information about the Python-list mailing list