Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <mailman.102.1731443664.4695.python-list@python.org>
Deutsch   English   Français   Italiano  
<mailman.102.1731443664.4695.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: Chris Angelico <rosuav@gmail.com>
Newsgroups: comp.lang.python
Subject: Re: FileNotFoundError thrown due to file name in file, rather than
 file itself
Date: Wed, 13 Nov 2024 07:34:10 +1100
Lines: 18
Message-ID: <mailman.102.1731443664.4695.python-list@python.org>
References: <87v7wt986z.fsf@zedat.fu-berlin.de>
 <CAJQBtg=UOiOmmHa25EUZtrZO19F1O0_VxCO6gWjZ5ebAMHnXCA@mail.gmail.com>
 <mailman.92.1731341107.4695.python-list@python.org>
 <875xosyfr0.fsf@zedat.fu-berlin.de>
 <CAJQBtg=nr+KC5iz_WY7nqkGK+YBEWAPq40ksaWJCAOT_+=pHxg@mail.gmail.com>
 <f60479e0-b3a9-487e-9625-804d4aab26bf@wichmann.us>
 <CAPTjJmpTngd26KUymwbi6LJn1yunCEpwMbZRT11Bi1=S2nuR-g@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de b4a8c9aT8nx6Ys8RXF4cDwHKhSGJ6wV18S74FKpr9DAw==
Cancel-Lock: sha1:vNSmjbf52M4DHJiG5XK6Xe3sGQY= sha256:nDLk7lBqG5fEqsD1V4jpvGLghSUdRLI2Lef4EAqRJqw=
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
 reason="2048-bit key; unprotected key"
 header.d=gmail.com header.i=@gmail.com header.b=gvewShVd;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.015
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:name': 0.07;
 'thing.': 0.07; 'cc:addr:python-list': 0.09; 'cc:no real
 name:2**0': 0.14; 'syntax': 0.15; 'that.': 0.15; 'chrisa': 0.16;
 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
 'logs': 0.16; 'mats': 0.16; 'received:mail-lj1-x22a.google.com':
 0.16; 'to:name:mats wichmann': 0.16; 'wichmann': 0.16; 'wrote:':
 0.16; "aren't": 0.19; 'cc:addr:python.org': 0.20; 'option': 0.20;
 'subject:file': 0.22; 'run': 0.23; 'cc:2**0': 0.25; 'message-
 id:@mail.gmail.com': 0.31; 'python-list': 0.32; 'there': 0.33;
 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
 'from:addr:gmail.com': 0.34; 'request': 0.35; 'really': 0.36;
 'way': 0.38; 'wed,': 0.39; 'still': 0.40; 'want': 0.40; 'helps':
 0.60; 'gives': 0.62; 'your': 0.64; 'thus': 0.64; 'right': 0.68;
 'currently,': 0.69; 'left': 0.83; 'subject: \n ': 0.84;
 'subject:than': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1731443662; x=1732048462; darn=python.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=8WdyZs0/wBJoX6vWw/ZdAlamNKnxLgydHCpTmd0dl0o=;
 b=gvewShVd0nwGT5CPxupcLva3SOTDUQQqfbii7YHkJ3NFp6xWQj5LODKHk0P6p2Q+0a
 iqUVUYzpv6PFwaEM7UL/rA9QltSCHujrcXJ29y2LXeNATEz9lFN5jxOMG9+PpMZT2FVk
 x6sNkrkQ9z+Eu9NPkGKbQEtsrjWNblZZAR3i/4wjmkUnEkxjWusNhc07bSHbt611Z+w7
 +O9S5ppKTPEyvP8PTnMmYRqJv8b+/H/NtLKnFAk3M/0h6pUvHyeqwYAdHXhB4Pcs4Ee7
 1x2ouO7MCxirLOe+aG9UdL3IlcmVxpQvj9m4MvokoYTRl5s39bHWIGU5mQi2OxtxLqYb
 8yGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1731443662; x=1732048462;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=8WdyZs0/wBJoX6vWw/ZdAlamNKnxLgydHCpTmd0dl0o=;
 b=ikHfKJcGLXSj4taJO015gS0vqnfMhtqdDD215GKtBCAoNho7CV3qD+mSwmQB0RQAQ4
 VihDzlPmF2C4BJJH+CpWf/RBPQ+0csSTs3IxEoWuYQ53DVHEqJihpy2XAtvowuunPROo
 5hM5vMNA1oDY5B6ZQ/lLNpPXmGY0ZF1xyDE4ve14hbM4Z7PBHAd0uT32OYUwR+tJHJFF
 uY8qzYwyCcAbfBu/NaqnWM1Ozhqy1xzzQxOQJu9E5f7SEz5YDBzSjuVA6P5zl7MLFjDW
 8KJNSa98TkYzNDVBdIdVW+YV3fRc2i0Oz6SY5n6cbtUNumPaEZV58KnKxAO/9i/dwytc
 F7Wg==
X-Gm-Message-State: AOJu0Yzoqb/RhZJBIpjVLrXcJikBWriuENPWhFz73W9XMg+O+z5sSGcB
 sZyFS/NZPD/taKvWlZtudPcwhjU890ttItRhJLEFTSIkEg+U54T5Knoq4op12sFg39Znm8O12h+
 VVixlBJvD2XQTCMbGzMBotyhEtVO8hw==
X-Google-Smtp-Source: AGHT+IHVYojzctLUrpUWtjR0oogleLheOeoC04T5clQkDPWePGrqcKDujD37+E1fpFNBVhYgbh4y8ET0YJVrGqvOXxk=
X-Received: by 2002:a05:651c:2102:b0:2fb:6057:e695 with SMTP id
 38308e7fff4ca-2ff2016d6e0mr97405861fa.18.1731443662027; Tue, 12 Nov 2024
 12:34:22 -0800 (PST)
In-Reply-To: <f60479e0-b3a9-487e-9625-804d4aab26bf@wichmann.us>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
 <python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
 <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
 <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmpTngd26KUymwbi6LJn1yunCEpwMbZRT11Bi1=S2nuR-g@mail.gmail.com>
X-Mailman-Original-References: <87v7wt986z.fsf@zedat.fu-berlin.de>
 <CAJQBtg=UOiOmmHa25EUZtrZO19F1O0_VxCO6gWjZ5ebAMHnXCA@mail.gmail.com>
 <mailman.92.1731341107.4695.python-list@python.org>
 <875xosyfr0.fsf@zedat.fu-berlin.de>
 <CAJQBtg=nr+KC5iz_WY7nqkGK+YBEWAPq40ksaWJCAOT_+=pHxg@mail.gmail.com>
 <f60479e0-b3a9-487e-9625-804d4aab26bf@wichmann.us>
Bytes: 5935

On Wed, 13 Nov 2024 at 07:29, Mats Wichmann via Python-list
<python-list@python.org> wrote:
>
> On 11/12/24 12:10, Left Right via Python-list wrote:
>
> > Finally, if you want your logs to go to a file, and currently, your
> > only option is stderr, your shell gives you a really, really simple
> > way of redirecting stderr to a file.  So, really, there aren't any
> > excuses to do that.
>
> an awful lot of the programs that need to do extensive logging don't run
> under control of a shell, and thus "shell redirection" helps not at all.
>

Redirection's still a thing. "Shell redirection" is just the shell
syntax to request redirection.

ChrisA