Memory Management in Python: 3 Popular Interview Questions
The memory management is one of the most popular interview topics for Python developers. Because questions about it can test a programmer’s understanding of some internal mechanisms of Python.
Some common questions are:
- How to get the memory address of a Python object (or vice versa)?
- How does Python collect garbage (useless objects)?
- How does Python optimise memory usages (interning mechanism)?
Check out this article for more details.