Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in python-internals

Python threads difference for 3.10 and others

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

How do chained comparisons in Python actually work?

Returning NotImplemented from __eq__

Why does naive string concatenation become quadratic above a certain length?

Why does locals() return a strange self referential list?

Slow equality evaluation for identical objects (x == x)

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

How int() object uses "==" operator without __eq__() method in python2?

How does module loading work in CPython?

How does __slots__ avoid a dictionary lookup?

Accessing the list while being sorted

How is super() in Python 3 implemented?

What is the meaning of "<" for Python dictionaries?

What is Python's sequence protocol?

Why are chained operator expressions slower than their expanded equivalent?

What are __signature__ and __text_signature__ used for in Python 3.4

Dict/Set Parsing Order Consistency

Python: which types support weak references?

How many local variables can a Python (CPython implementation) function possibly hold?