mirror of https://github.com/python/cpython
Browse Source
* PyMapping_HasKey() is not safe because it silences all exceptions and can return incorrect result. * Informative exceptions from PyMapping_DelItem() are overridden with RuntimeError and the original exception raised before calling remove_module() is lost. * There is a race condition between PyMapping_HasKey() and PyMapping_DelItem().pull/22660/head
committed by
GitHub
2 changed files with 15 additions and 10 deletions
Loading…
Reference in new issue