Mastering Concurrency in Python
上QQ阅读APP看书,第一时间看更新

Questions

  • What is a file descriptor and in what ways can it be handled in Python?
  • What problem arises when file descriptors are not handled carefully?
  • What is a lock and in what ways can it be handled in Python?
  • What problem arises when locks are not handled carefully?
  • What is the idea behind context managers?
  • What options does the with statement in Python provide in terms of context management?