title: Any way to handle C extension segmentation fault from Python code?
body: <p>I'm using a third party python library with C extensions. There is one function I call all the time. When I call this function with some special argument (that should be valid) it segfaults.</p>
  
  <p>Let's assume for the moment that I can't file a bug report (will take to long to resolve). </p>
  
  <p>It there any way to handle such problem with Python?</p>
  
  <p>I can provide the code but the question is so general it won't change much...</p>