replit / prybar

Pry open those interpreters.
GNU General Public License v2.0
253 stars 52 forks source link

Ctrl-C improvements for python. #6

Closed basicer closed 5 years ago

basicer commented 5 years ago
basicer commented 5 years ago

Yea, I'm not happy about it :(. I all the C hackory I tried crashed.

turbio commented 5 years ago

what else did you try? handling the signal in prybar and calling signal.default_int_handler doesn't work?

basicer commented 5 years ago

I tried calling the reasonable things in https://github.com/python/cpython/blob/27e2d1f21975dfb8c0ddcb192fa0f45a51b7977e/Modules/signalmodule.c but they mostly crashed :(

basicer commented 5 years ago

Fixes #4