StackOverflow Questions for Tag: python-internals

ninjaconcombre
ninjaconcombre

Reputation: 534

How to modify the signature of a function dynamically

Score: -2

Views: 514

Answers: 2

Read More
Ganesh Satpute
Ganesh Satpute

Reputation: 3951

Python string literal concatenation

Score: 21

Views: 15845

Answers: 1

Read More
no comment
no comment

Reputation: 10465

Why is `if x is None: pass` faster than `x is None` alone?

Score: 5

Views: 237

Answers: 2

Read More
wvxvw
wvxvw

Reputation: 9460

How does asyncio actually work?

Score: 375

Views: 105938

Answers: 6

Read More
Bryan Head
Bryan Head

Reputation: 12580

List lookup faster than tuple?

Score: 20

Views: 4565

Answers: 2

Read More
Mark Lodato
Mark Lodato

Reputation: 53274

Accessing class variables from a list comprehension in the class definition

Score: 256

Views: 33984

Answers: 9

Read More
user6573621
user6573621

Reputation:

How does the Python for loop actually work?

Score: 6

Views: 2338

Answers: 2

Read More
Ch3steR
Ch3steR

Reputation: 20679

Why is a set object stored as a frozenset and a list object as a tuple?

Score: 3

Views: 294

Answers: 2

Read More
cs95
cs95

Reputation: 402952

How to reliably separate decimal and floating parts from a number?

Score: 6

Views: 2013

Answers: 5

Read More
Blyfh
Blyfh

Reputation: 95

What is the term for a colon before a suite in Python syntax?

Score: 2

Views: 127

Answers: 1

Read More
ivan
ivan

Reputation: 6322

How does Python determines the order of elements in sets?

Score: 74

Views: 33544

Answers: 5

Read More
asmeurer
asmeurer

Reputation: 91610

Python eval: is it still dangerous if I disable builtins and attribute access?

Score: 48

Views: 20392

Answers: 7

Read More
Gregwar
Gregwar

Reputation: 553

Using a function defined in an exec'ed string in Python 3

Score: 35

Views: 19005

Answers: 3

Read More
Kelly Bundy
Kelly Bundy

Reputation: 27640

Why is the simpler loop slower?

Score: 63

Views: 9895

Answers: 1

Read More
Amir reza Riahi
Amir reza Riahi

Reputation: 2460

What is the `ExceptionTable` in the output of `dis`?

Score: 3

Views: 436

Answers: 1

Read More
David542
David542

Reputation: 110452

Class property with space in it

Score: 2

Views: 1085

Answers: 1

Read More
RohanAlmighty
RohanAlmighty

Reputation: 79

Can't create Race Condition in Python 3.11 using multiple threads

Score: 6

Views: 582

Answers: 2

Read More
Sajuuk
Sajuuk

Reputation: 3049

Why does inspect.getsource throw TypeError when trying to get source for Python Built-in?

Score: 2

Views: 2266

Answers: 1

Read More
ashim
ashim

Reputation: 25580

How does the @property decorator work in Python?

Score: 1406

Views: 848193

Answers: 14

Read More
user459872
user459872

Reputation: 24827

Why the bytecode is different for string multiplication?

Score: 2

Views: 146

Answers: 1

Read More
PreviousPage 3Next