| Deutsch English Français Italiano |
|
<vqbn4r$2tdu2$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Muttley@DastardlyHQ.org Newsgroups: comp.lang.c Subject: Re: Python recompile Date: Thu, 6 Mar 2025 08:42:03 -0000 (UTC) Organization: A noiseless patient Spider Lines: 24 Message-ID: <vqbn4r$2tdu2$1@dont-email.me> References: <vq1qas$j22$1@gallifrey.nk.ca> <vq1uvb$qbuq$1@dont-email.me> <vq22nc$rvb8$1@dont-email.me> <vq24kd$rg6i$1@dont-email.me> <vq3oag$18iv6$1@dont-email.me> <vq4hf2$1brf7$1@dont-email.me> <vq4l3d$1ck9e$1@dont-email.me> <vq4m0u$1ctpn$1@dont-email.me> <vq4n05$1d5dv$1@dont-email.me> <vq4om7$1dbo2$2@dont-email.me> <vq6dqh$1pskk$1@dont-email.me> <vq6f8p$1pmnk$1@dont-email.me> <vq6gqc$1qcp8$1@dont-email.me> <vq6ips$1pmnk$2@dont-email.me> <vq6j5h$1qosf$1@dont-email.me> <20250304092827.708@kylheku.com> <vq7g1p$1vmg5$1@dont-email.me> <vq8544$23f55$4@dont-email.me> <vq88s7$242vk$1@dont-email.me> <vq8cdq$24hi9$2@dont-email.me> <vq9di0$2db82$1@dont-email.me> <vq9m4p$2eqra$1@dont-email.me> <vqaqof$2lg6a$4@dont-email.me> Injection-Date: Thu, 06 Mar 2025 09:42:03 +0100 (CET) Injection-Info: dont-email.me; posting-host="83a3448ddfa626d95c335acfcc4f8116"; logging-data="3061698"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KHrJcF+M8IG6k2KfSIp3J" Cancel-Lock: sha1:QcaGKOlm29q9SsA90rr1dj/G8Dk= Bytes: 2451 On Thu, 6 Mar 2025 00:37:35 -0000 (UTC) Lawrence D'Oliveiro <ldo@nz.invalid> wibbled: >On Wed, 5 Mar 2025 14:12:41 -0000 (UTC), Muttley wrote: > >> On Wed, 5 Mar 2025 11:46:08 +0000 bart <bc@freeuk.com> wibbled: >>> >>> def F(): >>> .... >>> F = 42 >>> >>>It is ridiculously and dangerously dynamic. >> >> Python people would say thats a feature, not a bug. > >Consider that, in Python, functions and classes are themselves first-class >objects. Function and class definitions are not declarations, they are >special forms of assignment statement; while the function code is >generated at compile time, the actual creation of function and class >objects happens at runtime. If the function/class definition is executed Compilation and runtime are the same thing in Python arn't they? Can you precompile code? I'm not an expert on the language to any extent though I can write simple code in it.