Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
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?
Jun 29, 2021
python
hash
set
cpython
python-internals
Why is a class __dict__ a mappingproxy?
Oct 15, 2022
python
python-3.x
class
dictionary
python-internals
When is hash(n) == n in Python?
Aug 16, 2022
python
python-2.7
python-3.x
hash
python-internals
Python string interning
Aug 16, 2022
python
string
python-internals
internals
string-interning
Does Python optimize away a variable that's only used as a return value?
Aug 16, 2022
python
interpreter
python-internals
Why do tuples take less space in memory than lists?
Sep 14, 2022
python
python-2.7
list
tuples
python-internals
Why is str.translate much faster in Python 3.5 compared to Python 3.4?
Dec 14, 2021
python
string
python-3.x
python-internals
python-3.5
How to override the copy/deepcopy operations for a Python object?
Aug 16, 2022
python
python-internals
About Python's built in sort() method
Sep 25, 2022
python
algorithm
sorting
python-internals
Why is it slower to iterate over a small string than a small list?
Aug 15, 2022
python
performance
cpython
timeit
python-internals
What causes [*a] to overallocate?
Dec 14, 2021
python
python-3.x
list
cpython
python-internals
Is it possible to "hack" Python's print function?
Aug 15, 2022
python
python-3.x
printing
python-internals
Why is the order in dictionaries and sets arbitrary?
Aug 15, 2022
python
dictionary
set
python-internals
Why are Python's arrays slow?
Aug 15, 2022
python
arrays
performance
boxing
python-internals
Why do two identical lists have a different memory footprint?
Dec 14, 2021
python
list
memory-management
python-internals
Why is x**4.0 faster than x**4 in Python 3?
Dec 14, 2021
python
performance
python-3.x
python-3.5
python-internals
Finding the source code for built-in Python functions?
Aug 14, 2022
python
python-internals
Why can tuples contain mutable items?
Aug 14, 2022
python
list
tuples
immutability
python-internals
Accessing class variables from a list comprehension in the class definition
Aug 27, 2022
python
python-3.x
scope
list-comprehension
python-internals
How is Python's List Implemented?
Aug 14, 2022
python
arrays
list
linked-list
python-internals
« Newer Entries
Older Entries »