Search code examples
Why is a class __dict__ a mappingproxy?...

pythonpython-3.xclassdictionarypython-internals

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

pythonperformancecpythonpython-internalsfunctools

Read More
Why is one class variable not defined in list comprehension but another is?...

pythonscopelist-comprehensionpython-internalspython-3.4

Read More
The `is` operator behaves unexpectedly with non-cached integers...

pythonpython-3.xintegeridentitypython-internals

Read More
Overwriting __class__ raises TypeError...

pythonpython-3.xcastingtypeerrorpython-internals

Read More
Why can tuples contain mutable items?...

pythonlisttuplesimmutabilitypython-internals

Read More
Set contains for user defined classes using __hash__ function...

pythonhashsetpython-internalsmagic-methods

Read More
How do I store a Python object in memory for use by different processes?...

pythonwebmemorypython-internals

Read More
Why round off of 0.500000 in python differs from 45.500000 using '%.0f'?...

pythonpython-3.xpython-2.7string-formattingpython-internals

Read More
delete the hashed node in deque in O(1)...

pythondequepython-internals

Read More
built in __dict__ is returning names of attributes with class names as prefix...

pythondictionaryinstance-variablespython-internals

Read More
Randomly extract x items from a list using python...

pythonlistrandomindicespython-internals

Read More
How does a generator function work internally?...

pythongeneratorpython-internals

Read More
subclassing dict; dict.update returns incorrrect value - python bug?...

pythonpython-2.7dictionaryinheritancepython-internals

Read More
Python id issues...

pythonpython-internals

Read More
When using property decorator, should the variable be declared as public or private in __init__?...

pythonpropertiesdecoratorpython-internals

Read More
Why can Python not see previously imported modules?...

pythonpython-internals

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

pythonthread-safetycpythonpython-internalsgil

Read More
What sets nb_bool in CPython?...

cpythonpython-internals

Read More
Why is iterating over a dict so slow?...

pythonperformancedictionaryiterationpython-internals

Read More
Implementing block scoping in Python...

pythonpython-internals

Read More
what are count0, count1 and count2 values returned by the Python gc.get_count()...

pythongarbage-collectionpython-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
Do attribute names consume memory on instance basis in python...

pythoncpythonslotspython-internals

Read More
Understanding ctx in Python's ast...

pythonpython-3.xabstract-syntax-treepython-internals

Read More
What are __signature__ and __text_signature__ used for in Python 3.4...

pythonsignaturepython-3.4python-internals

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

pythonpython-2.7buildcpythonpython-internals

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

pythonidentitycpythonpython-internals

Read More
Why does a set display in same order if sets are unordered?...

pythonsetpython-internals

Read More
BackNext