Sobes.tech

How to prevent assigning a negative value to a numeric field of a class in Python?

Middle
160

How to avoid diamond inheritance problems in Python?

Middle
159

What is the main function of descriptors in Python?

Middle
143

How does the dependency direction differ from the data flow direction?

Middle
140

What types of creational patterns do you know?

Middle
139

Under what conditions can data races occur in Python?

Middle
139

How to implement a generic in Python?

Middle
128

What is the difference between the repr and str methods in Python?

Middle
118

Will an immutable dataclass with slots and frozen attributes be?

Middle
117

How to change the current interpreter in Python (switch Python version for a project)?

Middle
111