Deutsch   English   Français   Italiano  
<mailman.113.1731605919.4695.python-list@python.org>

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

Path: ...!fu-berlin.de!uni-berlin.de!not-for-mail
From: Ethan Furman <ethan@stoneleaf.us>
Newsgroups: comp.lang.python
Subject: Re: FileNotFoundError thrown due to file name in file, rather than
 file itself
Date: Thu, 14 Nov 2024 09:32:32 -0800
Lines: 33
Message-ID: <mailman.113.1731605919.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>
 <235f9d53-f784-8998-f201-1c01dbbf14ba@gmail.com>
 <CAJQBtgmQ0MLh2xYpUTwsSWhO1ra=QVuJRddn=17Pd7gKA=aM+g@mail.gmail.com>
 <606e45ca-7d2c-38f2-7850-e04b22b697f2@stoneleaf.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de lKvk2IEJSoUWqMEQNXEe8wZqHJMVf7S4fiSJXtH/IRPA==
Cancel-Lock: sha1:nNqGKMsbcwakzx81gp2qV+NuIJo= sha256:Y3VOIougKU8RWNFO+xXJsqLfRwcDKaOkBy6l/RpZTlY=
Return-Path: <ethan@stoneleaf.us>
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=stoneleaf.us header.i=@stoneleaf.us header.b=aKDlxcjN;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.009
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; "python's": 0.05;
 'lecture': 0.07; 'subject:name': 0.07; '"as': 0.09; 'fact,': 0.09;
 'post.': 0.09; 'received:217.70': 0.09; 'received:217.70.178':
 0.09; 'received:gandi.net': 0.09; 'received:mail.gandi.net': 0.09;
 'log': 0.12; '"standard"': 0.16; '(instead': 0.16; 'appropriate.':
 0.16; 'experts.': 0.16; 'from:addr:ethan': 0.16;
 'from:addr:stoneleaf.us': 0.16; 'from:name:ethan furman': 0.16;
 'infra': 0.16; 'message-id:@stoneleaf.us': 0.16; 'simple:': 0.16;
 'things,': 0.16; '~ethan~': 0.16; 'wrote:': 0.16; 'python': 0.16;
 "aren't": 0.19; 'to:addr:python-list': 0.20; 'subject:file': 0.22;
 'list,': 0.24; 'python,': 0.25; 'wrong': 0.28; 'header:User-
 Agent:1': 0.30; 'program,': 0.31; 'python-list': 0.32; 'simple,':
 0.32; 'window': 0.32; 'words,': 0.32; 'but': 0.32; 'header:In-
 Reply-To:1': 0.34; 'mean': 0.34; 'yes,': 0.35; 'also,': 0.36;
 'really': 0.36; 'people': 0.36; 'could': 0.37; 'file': 0.38;
 'way': 0.38; 'read': 0.38; 'quite': 0.39; 'developers': 0.39;
 'wrote': 0.39; 'appears': 0.40; 'something': 0.40; 'popular':
 0.60; 'above': 0.62; 'gives': 0.62; 'your': 0.64; 'claims': 0.64;
 'lost': 0.64; 'thus': 0.64; 'tool': 0.65; 'areas': 0.67;
 'received:217': 0.67; 'right': 0.68; 'article,': 0.69; 'latter':
 0.69; 'url:info': 0.71; 'relevant': 0.73; 'experts': 0.76; 'left':
 0.83; 'rotating': 0.84; 'subject: \n ': 0.84; 'subject:than': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stoneleaf.us;
 s=gm1; t=1731605555;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=VkUjmEE/Bq35cftfvFo3QZu2JwuZBHj6KLd85o2noZI=;
 b=aKDlxcjNXCijpUqbZta0Mvxx0N9/vUQy+Pf7yWLUnKLnBrnVYEjKKHFPEzURb4edE+Pd9u
 wOOFl0kv+OycHcbvoaiOo8dvZjllWGs3new0M2s0VUYCZeeWKORX/5kEk3SIbIALrDd5DF
 CgMLZ60QdajNuEdZLC0c4meO5zssPYDkynE/VWd34ZJ/HU53sz3ZEX/zWsI0i2stOrYyq1
 qIZ1EnDp5NOr26WWKae3d7zu0JsGHUjBt+LvBoE/1VloLo2T01Ff3atwXYkB+QtIqsA/s6
 IJFPZECcnEVpRhNZmZ5S1+7SvTYArjvoY71z3oNElrZWk1m3dXxfIeEAXH6k6g==
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.9.1
Content-Language: en-US
In-Reply-To: <CAJQBtgmQ0MLh2xYpUTwsSWhO1ra=QVuJRddn=17Pd7gKA=aM+g@mail.gmail.com>
X-GND-Sasl: ethan@stoneleaf.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: <606e45ca-7d2c-38f2-7850-e04b22b697f2@stoneleaf.us>
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>
 <235f9d53-f784-8998-f201-1c01dbbf14ba@gmail.com>
 <CAJQBtgmQ0MLh2xYpUTwsSWhO1ra=QVuJRddn=17Pd7gKA=aM+g@mail.gmail.com>
Bytes: 6498

On 11/13/24 23:03, Left Right via Python-list wrote:

 >> On any Unix system this is untrue.  Rotating a log file is quite simple:
 >
 > I realized I posted this without cc'ing the list:
 > http://jdebp.info/FGA/do-not-use-logrotate.html .
 >
 > The link above gives a more detailed description of why log rotation
 > on the Unix system is not only not simple, but is, in fact,
 > unreliable.

Having read the linked article, I see it is not relevant to Python, as Python's logging tool is
the writer/rotator program, thus no window for lost entries exists.

 > NB. Also, it really rubs me the wrong way when the word "standard" is
 > used to mean "common" (instead of "as described in a standard
 > document").

Yes, that is irritating.

 >  And when it comes to popular tools, oftentimes "common"
 > is wrong because commonly the tool is used by amateurs rather than
 > experts.  In other words, you only reinforced what I wrote initially:
 > plenty of application developers don't know how to do logging well.
 > It also appears that they would lecture infra / ops people on how to
 > do something that they aren't experts on, while the latter are :)

Well, since this is a Python list, perhaps you could make sure your advice is also Python appropriate.  I appreciate 
diversions into general areas and learning new things, but your general claims were untrue when it comes to Python 
specifically, and that was unclear until I read your linked post.

--
~Ethan~