3 ms·
In theory you're right, CPython is written in C and it could segfault or display undefined behavior. In practice, you're quite wrong. It's not really much of a
by EnergyAmy 2y ago
In theory you're right, CPython is written in C and it could segfault or display undefined behavior. In practice, you're quite wrong.
It's not really much of a counterargument to say that Python is good enough that you don't have to care what's under the hood, except when it breaks because C sucks so badly.
- KeplerBoy 2y agoI was specifically talking about python packages using C. You type "pip install" and god knows what's going to happen. It might pull a precompiled wheel, it might just compile and link some C or Fortran code, it might need external dependecies. It might install flawlessly and crash as soon as you try to run it. All bets are off. I never experienced CPython itself segfault, it's always due to some package.