Skip to content Skip to sidebar Skip to footer
Showing posts with the label Cpython

In C Python, Accessing The Bytecode Evaluation Stack

Given a C Python frame pointer, how do I look at arbitrary evaluation stack entries? (Some specific… Read more In C Python, Accessing The Bytecode Evaluation Stack

Forcing Modules To Run In Pypy From A Cpython Script (run Pypy On Part Of The Code)?

Is there a way to import modules from a CPython script, but run them in PyPy? The problem is that I… Read more Forcing Modules To Run In Pypy From A Cpython Script (run Pypy On Part Of The Code)?

How Does Module Loading Work In Cpython?

How does module loading work in CPython under the hood? Especially, how does the dynamic loading of… Read more How Does Module Loading Work In Cpython?

Are There Any Datetime.tzinfo Implementations In C?

I've been working on a Python library that uses a C extension module to do ISO 8601 parsing. Pa… Read more Are There Any Datetime.tzinfo Implementations In C?

Cpython's Static Object Address And Fragmentation

I read For CPython, id(x) is the memory address where x is stored. And it's a given the id o… Read more Cpython's Static Object Address And Fragmentation

Python: Where Is The Code For Os.mkdir?

I've been looking through the code of the os module (just to be clear, I'm looking at the f… Read more Python: Where Is The Code For Os.mkdir?