Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in python-internals

Why does tuple(set([1,"a","b","c","z","f"])) == tuple(set(["a","b","c","z","f",1])) 85% of the time with hash randomization enabled?

Why is a class __dict__ a mappingproxy?

When is hash(n) == n in Python?

Python string interning

Does Python optimize away a variable that's only used as a return value?

Why do tuples take less space in memory than lists?

Why is str.translate much faster in Python 3.5 compared to Python 3.4?

How to override the copy/deepcopy operations for a Python object?

python python-internals

About Python's built in sort() method

Why is it slower to iterate over a small string than a small list?

What causes [*a] to overallocate?

Is it possible to "hack" Python's print function?

Why is the order in dictionaries and sets arbitrary?

Why are Python's arrays slow?

Why do two identical lists have a different memory footprint?

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

Finding the source code for built-in Python functions?

python python-internals

Why can tuples contain mutable items?

Accessing class variables from a list comprehension in the class definition

How is Python's List Implemented?