Sujet : Re: C23 thoughts and opinions
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 04. Jun 2024, 03:12:52
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3lt74$48om$15@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 : Pan/0.158 (Avdiivka; )
On Mon, 3 Jun 2024 11:13:32 +0100, bart wrote:
So how does importlib manage to import importlib before importlib
itself is imported?
I guess the same way a linker manages to link itself.
There is NO ahead-of-time linking of modules in Python as it is
understood in traditional compiled languages.
Python is a compiled language.
Besides, all such statements are executed at runtime, and can be
conditional.
It’s not the only object-code language with that property.