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

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?

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

Migrating From Cpython To Jython

I'm considering moving my code (around 30K LOC) from CPython to Jython, so that I could have be… Read more Migrating From Cpython To Jython

What Does __flags__ In Python Type Used For

I have been read pickle source code recently. The following code in copy_reg make me confused: _HEA… Read more What Does __flags__ In Python Type Used For

Value Of Py_none

It is clear to me that None is used to signify the lack of a value. But since everything must have … Read more Value Of Py_none

Cpython From Java?

I need to call CPython code from Java. What tools/APIs/libraries exist out there to help me do this… Read more Cpython From Java?

How To Call A C-api Function Such As Pyunicode_read_char From Cython?

I'm using Cython to speed up a function that operates over a string (unicode, CPython 3.6). How… Read more How To Call A C-api Function Such As Pyunicode_read_char From Cython?