PY-34019 Extract faulthandler initialization
PY-34019 Extract faulthandler initialization

GitOrigin-RevId: dc4ce7397ef700e35515ec547abccf91fd7b6a0f
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community