Tag: cpython

  • Where is zip?

    Download a copy of CPython’s source: Where is zip implemented? Looks promising! This looks like a good start point — defining it along with the other builtins inside _PyBuiltin_Init in Python/bltinmodule.c: where _PyBuiltin_Init gets called in Python/pylifecycle.c here: where pycore_init_builtins called in Python/pylifecycle.c here: where pycore_interp_init gets called in Python/pylifecycle.c here: where new_interpreter gets called…