News for hackers. Stuff that matters.
Re:Ask HN: How best to prepare for Python interviews startin... by prakhar987 on Tuesday November 23, 2021 @10:45AM (#29319133)
Few questions to get started:

  -  __init__ vs __new__
  -  Difference between list and set
  -  Abstract classes use
  -  Generators vs iterators
  -  How yield works
  -  Is python call by ref/val or both. How to implement each
  -  How python list allocates space, how it is implemented
  -  what is cpython, pypy
Re:Ask HN: How best to prepare for Python interviews startin... by ollien on Tuesday November 23, 2021 @11:14AM (#29319545)
I'd be surprised if #1, #4, #7, #8 were ever asked in an interview, let alone for someone just learning the language.