Issues

IDLE crashes when you quit a Pygame game without calling pygame.quit().

"""IDLE crashes when you quit a Pygame game without calling pygame.quit().

I know this is probably some generic leftover-references problem, but Pygame is a fairly major library that new programmers use (game making being a big way people get into programming.) But I’d agree with the Raymond Chen/Sim City approach and go ahead and make a specific change to check if Pygame was loaded and pygame.quit() was not called by the time sys.exit() was called.
"""