Sujet : Re: Python (was Re: I did not inhale)
De : david.brown (at) *nospam* hesbynett.no (David Brown)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 03. Sep 2024, 09:46:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vb6idv$396lj$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
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.