Search code examples
Is there a way to inherit a PyTypeObject from a Python library into a custom type in CPython?...


pythoncinheritancecpython

Read More
Accessing Python intepreter's data stack through sys.set_trace...


pythoninterpretercpython

Read More
What exactly is the optimization `functools.partial` is making?...


pythonperformancecpythonpython-internalsfunctools

Read More
How can I import a module from a pyc file or so file in Pypy?...


pythonmodulecpythonpypy

Read More
Do I have to call py::initialize_interpreter() and py::finalize_interpreter() within the same scope?...


pythonc++cpythonpybind11

Read More
Why does the 'is' operator behave unexpectedly with arithmetically equal expressions...


pythonpython-3.xidentityequalitycpython

Read More
How to search for a __main__ module using pyclbr in Python3?...


pythonpython-3.xcpython

Read More
Wrong return value from c function wrapped in python...


pythoncnumpyctypescpython

Read More
Why reversed() removes thread safety?...


pythonthread-safetycpythonpython-internalsgil

Read More
The name and nature of the "hidden" builtins classes object, function, code etc...


pythoncpython

Read More
What sets nb_bool in CPython?...


cpythonpython-internals

Read More
Understanding Cpython garbage collection generations...


python-3.xgarbage-collectioncpythonpython-internals

Read More
How do PyId_ variables resolve in CPython?...


pythoncpythonpython-internals

Read More
I got ModuleNotFoundError: No module named 'Cython' when trying to make Extension...


pythonmodulecythoncpython

Read More
Do attribute names consume memory on instance basis in python...


pythoncpythonslotspython-internals

Read More
Create an instance of a class N times without assigning it to a variable...


pythoncpython

Read More
How can I get my program to calculate the area of triangles? In Python...


pythoncpython

Read More
Fails to load Python module with Python 3...


c++python-3.xcpythonpython-embedding

Read More
How to work around the limitation of `len` function in Python?...


pythonpython-3.xcpython

Read More
Why does separating my module into multiple files make it slower?...


pythonperformancenumpypython-3.5cpython

Read More
A full and minimal example for a class (not method) with Python C Extension?...


pythonpython-3.xclasscpythonpython-c-api

Read More
Strange behavior with python dictionary...


pythonpython-3.xdictionaryhashcpython

Read More
Memory not released, even as object ref count 0...


pythonpython-3.xmemory-managementcpython

Read More
Run Python from C++ on Android using NDK...


pythonandroidc++java-native-interfacecpython

Read More
Python built from source can't find UTF-32-BE encoding...


pythonpython-2.7buildcpythonpython-internals

Read More
Is there a way to determine if my code is run in an embedded Python?...


pythoncpython

Read More
Why does id({}) == id({}) and id([]) == id([]) in CPython?...


pythonidentitycpythonpython-internals

Read More
CPython Memory Heap Corruption Issue...


pythoncpython-3.xcpython

Read More
How to run a Python project using __pycache__ folder?...


pythonpython-3.xcompilationcpythonpyc

Read More
How to debug GC in PyPy?...


pythongarbage-collectioncpythonpypy

Read More
BackNext