Search code examples
In what structure is a Python object stored in memory?...

pythonobjectpython-internals

Read More
How are variables looked up in Python?...

pythonpython-3.xpython-internals

Read More
What are these extra symbols in a comprehension's symtable?...

pythonpython-3.xlist-comprehensionpython-internals

Read More
Should importlib.reload restore a deleted attribute in Python 3.6?...

pythonpython-3.xcpythonpython-internals

Read More
Byte code of a compiled script differs based on how it was compiled...

pythonbytecodedisassemblypython-internalspyc

Read More
Why does the capacity of List in Python reduced to 10 instead of 8 after removing elements?...

pythonlistsizedynamic-memory-allocationpython-internals

Read More
Can __setattr__() can be defined in a class with __slots__?...

pythonpython-internalsslotssetattr

Read More
Printing without parentheses varying error message using Python 3...

pythonpython-3.xsyntax-errorpython-internals

Read More
Python method accessor creates new objects on each access?...

pythonmethodspython-internals

Read More
Python In Operator - Short Circuit...

pythonpython-internalsshort-circuiting

Read More
__sizeof__ str is larger than __sizeof__ a tuple containing that string...

pythonstringpython-3.xtuplespython-internals

Read More
What does `<attribute 'xxx' of 'C' objects>` mean in the output of `C.__dict__...

pythonpython-3.xpython-internals

Read More
Why does the size of this Python String change on a failed int conversion...

pythonstringpython-3.xunicodepython-internals

Read More
Why does __self__ of built-in functions return the builtin module it belongs to?...

pythonpython-2.7python-3.xpython-internals

Read More
Dict/Set Parsing Order Consistency...

pythondictionarysetpython-internals

Read More
How does the Python compiler preprocess the source file with the declared encoding?...

pythonencodingpython-internals

Read More
Should a C extension fail in module init if a PyModule_Add* function fails?...

pythonpython-c-apicpythonpython-internalspython-c-extension

Read More
In Python 3.x, why is there not an itertools shared-object on disk?...

pythonpython-3.xpython-itertoolspython-internals

Read More
What was/is that "void* <unused>" argument for, that some __sizeof__ methods have in...

pythonargumentscpythonpython-internals

Read More
Why is repr(int) faster than str(int)?...

pythonperformancepython-internals

Read More
Why the default gc generation threshold is set to (700, 10, 10) in Python...

pythonpython-2.7garbage-collectionpython-internals

Read More
Something about the sys.getrefcount...

pythongarbage-collectionpython-internalsreference-counting

Read More
How to find out internal string encoding?...

pythonstringpython-3.xencodingpython-internals

Read More
What is under the hood of x = 'y' 'z' in Python?...

pythonstringsyntaxconcatenationpython-internals

Read More
“iter() returned non-iterator” for dynamically bound `next` method...

pythonpython-2.7iteratorpython-2.xpython-internals

Read More
Why is x**4.0 faster than x**4 in Python 3?...

pythonperformancepython-3.xpython-3.5python-internals

Read More
Python's int function performance...

pythonpython-3.xintpython-internals

Read More
Why are dict lookups always better than list lookups?...

pythonperformanceoptimizationbig-opython-internals

Read More
Set literal gives different result from set function call...

pythonhashsetpython-2.xpython-internals

Read More
Order of insertion in sets (when parsing {})...

pythonsetpython-internals

Read More
BackNext