StackOverflow Questions for Tag: python-internals

fengsp
fengsp

Reputation: 1165

Unexpected value from sys.getrefcount

Score: 6

Views: 672

Answers: 1

Read More
Chris_Rands
Chris_Rands

Reputation: 41218

Are dictionaries ordered in Python 3.6+?

Score: 767

Views: 336147

Answers: 6

Read More
wim
wim

Reputation: 363304

Making an object x such that `x in [x]` returns False

Score: 25

Views: 2010

Answers: 2

Read More
Aaron Schif
Aaron Schif

Reputation: 2442

When are .pyc files refreshed?

Score: 103

Views: 60355

Answers: 3

Read More
Luke L
Luke L

Reputation: 313

Is there any way to construct a code object from a code string and assign it to an existing function using Python?

Score: -1

Views: 295

Answers: 1

Read More
Tom Lin
Tom Lin

Reputation: 110

What is the internal implementation of `copy.deepcopy()` in Python and how to override `__deepcopy__()` correctly?

Score: 3

Views: 104

Answers: 1

Read More
user459872
user459872

Reputation: 24827

What does the following code do in cpython?

Score: 3

Views: 145

Answers: 1

Read More
Sophon Aniketos
Sophon Aniketos

Reputation: 727

AsyncIO CPython hangs with 100% CPU usage

Score: 3

Views: 157

Answers: 0

Read More
fish2000
fish2000

Reputation: 4435

How to inspect Python file/module information without using `__file__` — perhaps in a module-level `__getattr__(…)` function?

Score: 0

Views: 140

Answers: 0

Read More
Sebastian Wozny
Sebastian Wozny

Reputation: 17506

Storage of floating point numbers in memory in Python

Score: 4

Views: 396

Answers: 2

Read More
Amir reza Riahi
Amir reza Riahi

Reputation: 2460

What does RESUME opcode actually do?

Score: 6

Views: 366

Answers: 1

Read More
Bea Steers
Bea Steers

Reputation: 21

Is it possible to get the source code of the current (multiline) statement using the stack frame?

Score: 2

Views: 216

Answers: 2

Read More
FourierFlux
FourierFlux

Reputation: 599

How does the Python Interpreter check thread duration?

Score: 1

Views: 77

Answers: 0

Read More
Dimitris Fasarakis Hilliard
Dimitris Fasarakis Hilliard

Reputation: 160627

Why does '() is ()' return True when '[] is []' and '{} is {}' return False?

Score: 50

Views: 4291

Answers: 1

Read More
inspectorG4dget
inspectorG4dget

Reputation: 114035

CPython memory allocation

Score: 19

Views: 3265

Answers: 1

Read More
user1073865
user1073865

Reputation: 2593

Finding the source code for built-in Python functions?

Score: 248

Views: 210565

Answers: 9

Read More
VGonPa
VGonPa

Reputation: 463

Why is a function/method call in Python expensive?

Score: 32

Views: 23682

Answers: 3

Read More
no step on snek
no step on snek

Reputation: 655

Where did sys.modules go?

Score: 8

Views: 313

Answers: 1

Read More
Vy.Iv
Vy.Iv

Reputation: 879

Where does a Python list hold its values?

Score: 5

Views: 903

Answers: 3

Read More
facehugger
facehugger

Reputation: 408

Is it possible to extract a wrapped mapping from MappingProxyType instance?

Score: 2

Views: 2684

Answers: 2

Read More
PreviousPage 2Next