pygame is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

pygame / pygame http://pygame.org/

Clone this repository (size: 15.4 MB): HTTPS / SSH
hg clone https://bitbucket.org/pygame/pygame
hg clone ssh://hg@bitbucket.org/pygame/pygame

Issues

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

Reported by illume

"""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. """

Status: open Responsible: illume Type: bug Priority: major
Milestone: none Component: none Version: none

Attachments

Comments and changes

  1. #1 illume

    written

    • Changed status from new to open.

    This bug comes from the blog post about the IDLE ide.

    http://inventwithpython.com/blog/2011/11/29/the-things-i-hate-about-idle-that-i-wish-someone-would-fix/

    Maybe we can fix it on the pygame side... which might fix it for old versions of python too.

  2. #2 Anonymous

    written

    Can someone provide a test case for IDLE crashing? Is the subprocess being used when starting IDLE?

  3. #3 illume

    written

    Here is a test case.

    It is the same as the normal pygame.examples.chimp... except the pygame.quit() has been commented out at the end.

    Note: there is a report that this configuration works fine:

    • Windows XP Professional SP3
    • Python 2.4.3 (required for work)
    • pygame 1.9.2pre-svn2952 (haven't been doing much pygame lately)

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?