Search code examples
Suppress stdout message from C/C++ library...


pythoncpython

Read More
What does the following code do in cpython?...


pythonpython-3.xcpythonpython-internals

Read More
Is it possible to access an object via memory address?...


pythoncpython

Read More
Why cpython exposes 'PyTuple_SetItem' as C-API if tuple is immutable by design?...


pythonpython-3.xtuplesctypescpython

Read More
Definition of the term "value of an object" in CPython...


pythonobjectlanguage-lawyercpython

Read More
Parsing a source code with just one digit...


pythonparsingcpython

Read More
The 'is' operator is not working on objects with the same identity...


pythonpython-2.7python-2.xcpython

Read More
How does `is` work in the case of ephemeral objects sharing the same memory address?...


pythonpython-3.xcpython

Read More
How are small sets stored in memory?...


pythonmemorysetcpythonpython-internals

Read More
Python CFFI `<cdata>` data pointer replace from C land - is it safe?...


pythonccpythonpython-cffi

Read More
CPython memory allocation...


pythonmemory-managementcpythonpython-internals

Read More
Why list comprehensions create a function internally?...


pythonlist-comprehensioncpythonpython-internalsdis

Read More
Why does `dict(id=1, **{'id': 2})` sometimes raise `KeyError: 'id'` instead of a Typ...


pythoncpython

Read More
How to write a function similar to split()...


pythonfunctioncpython

Read More
ImportError with Numpy using Python/C 3.12 API subinterpreters...


numpycpythonpython-subinterpreters

Read More
Python string 'in' operator implementation algorithm and time complexity...


pythonstringalgorithmcpython

Read More
Access the cpython string format specification mini language parser...


pythonstring-formattingcpython

Read More
AttributeError: module 'virtualenv.create.via_global_ref.builtin.cpython.mac_os' has no attr...


pipvirtualenvubuntu-20.04cpythonpython-3.10

Read More
How to load a C# dll in python?...


c#python.netcpythonpython.net

Read More
How can I 'pop' an element from PyListObject?...


pythonpython-3.xlistcpythonpython-c-api

Read More
Boolean identity == True vs is True...


pythonbooleanjythoncpythonpypy

Read More
Why is `if x is None: pass` faster than `x is None` alone?...


pythonperformancecpythonmicro-optimizationpython-internals

Read More
Does Python hashlib's sha256 employ the Intel SHA extensions?...


x86sha256cpythoninstruction-sethardware-acceleration

Read More
How to build CPython with static libbz2...


gccstatic-librariescpythonbzip2

Read More
Lists construction in Python Bytecode...


pythonbytecodecpython

Read More
Is it necessary to pass a shared variable explicitly to a threading function in Python using args in...


python-3.xmultithreadingpython-multithreadingcpython

Read More
ValueError: failed to parse CPython sys.version after using conda command...


pythonanacondacpythonconda

Read More
Why don't Python sets preserve insertion order?...


pythonsetcpython

Read More
Why 'Segmentation fault' occurs in my cpython module code? (PyObject_Print)...


cpython

Read More
Why sum function is slower if the 'start' argument is an instance of custom class?...


pythonpython-3.xoptimizationcpythonpython-3.11

Read More
BackNext