3 ms·
Right; the issue is that this isn't happening at compile time in Python, because it's not getting compiled ahead-of-time. The equivalent would be if header file
by saghm 5mo ago
Right; the issue is that this isn't happening at compile time in Python, because it's not getting compiled ahead-of-time. The equivalent would be if header files had imperative code that got executed at runtime in places where they're included.
(To preempt potential pedantry: yes, I know that you can compile Python to bytecode ahead of time, but that's not really relevant to what's being discussed here because it doesn't mean "the stuff happening in modules I import isn't happening at runtime anymore")
- thaumasiotes 5mo ago> the issue is that this isn't happening at compile time in Python, because it's not getting compiled ahead-of-time What are those .pyc files for?
- ameliaquining 5mo agoThat was the pedantry that they were trying to preempt.