Deutsch   English   Français   Italiano  
<vb6idv$396lj$2@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!.POSTED!not-for-mail
From: David Brown <david.brown@hesbynett.no>
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Tue, 3 Sep 2024 10:46:55 +0200
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <vb6idv$396lj$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <va4aut$3q4g0$1@dont-email.me>
 <va4fbr$3qvij$1@dont-email.me> <va5108$3tmmd$1@dont-email.me>
 <va51ok$3tqr9$1@dont-email.me> <va5ec2$3vluh$1@dont-email.me>
 <va6q4g$c1a7$1@dont-email.me> <va6rpa$c6bg$1@dont-email.me>
 <va6se9$cb8e$1@dont-email.me> <20240826083330.00004760@gmail.com>
 <vaises$2k7o6$2@dont-email.me> <20240826155113.000005ba@gmail.com>
 <wwvo75eicla.fsf@LkoBDZeT.terraraq.uk> <vak9k9$2ujrs$1@dont-email.me>
 <valgpu$34s18$1@dont-email.me> <87y14hd4bk.fsf@nosuchdomain.example.com>
 <valnei$35rt8$2@dont-email.me> <87ikvlcs7i.fsf@nosuchdomain.example.com>
 <vamclm$3c4ke$1@dont-email.me> <87ttf4bdcx.fsf@nosuchdomain.example.com>
 <vaoaak$3l470$3@dont-email.me> <875xrkb2iq.fsf@nosuchdomain.example.com>
 <vaoibg$3m9tm$2@dont-email.me> <vapo6l$3v4l8$2@dont-email.me>
 <vatlqv$mhl0$2@dont-email.me> <vavbgu$124lb$1@dont-email.me>
 <vb5k3c$31gq9$7@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 03 Sep 2024 10:46:55 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="93d7d6b8e3b40fe75b60c4526d162769";
	logging-data="3447475"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/I77Bmxsun6oyujNVW+rYZVrz1hLd+4bQ="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.11.0
Cancel-Lock: sha1:1fFb5ydVGjiXwM8MIE31oDfGxRU=
In-Reply-To: <vb5k3c$31gq9$7@dont-email.me>
Content-Language: en-GB
Bytes: 3154

On 03/09/2024 02:09, Lawrence D'Oliveiro wrote:
> On Sat, 31 Aug 2024 17:06:05 +0200, David Brown wrote:
> 
>> On 31/08/2024 01:49, Lawrence D'Oliveiro wrote:
>>
>>> Interesting. Now you are trying to claim that, because you don’t
>>> understand what the code does, that makes it somehow “meaningless”?
>>
>> I covered that in an earlier post.
> 
> Maybe in your mind you thought you did. Nowhere in your comments on this
> code did you say so, that I can find.

To be accurate, the code in question was not actually /meaningless/ - it 
was merely pointlessly complex, inefficient and unclear.

You wrote:

     def register_additional_standard(self, **kwargs) :
         for key in kwargs :
             if kwargs[key] :
                 if key == "managed_objects" :
		    # ....
                 else :
                     raise TypeError("unrecognized argument keyword 
“%s”" % key)


I changed it in a re-write to:

     def register_additional_standard(self, managed_objects) :
         if managed_objects :
             # ....


That change, I think, was lost in the discussions about bizarre 
formatting practices.