title: pyGame full core usage in simple loop
body: <p><strong>Edit</strong></p>
  
  <p>This is an <a href="https://github.com/pygame/pygame/issues/331" rel="noreferrer">open issue</a> and appears to be related to alsa audio.</p>
  
  <p>A workaround is to shutdown the audio mixer, or install pyGame from source.</p>
  
  <pre><code>pygame.init()
  pygame.mixer.quit()
  </code></pre>
  
  <hr/>
  
  <p>I am just beginning development with pyGame and have found that I should use the following to gate CPU time:</p>
  
  <pre><code>fps = 30
  clock = pygame.time.Clock()
  
  while True:
      # Logic...
      clock.tick(fps)
  </code></pre>
  
  <p>The issue that I seem to be having, is that the most basic draw a square program running at 1 FPS consumes a full CPU core.</p>
  
  <pre><code>import pygame
  
  pygame.init()
  
  size = ( 16, 16 )
  screen = pygame.display.set_mode(size)
  pygame.display.set_caption("High CPU")
  
  clock = pygame.time.Clock()
  
  run=True
  while run:
  
      print("Rendering...")
  
      for event in pygame.event.get():
          if event.type == pygame.QUIT:
               run=False
  
      screen.fill((255,255,255))
  
      # Render
      pygame.display.flip()
      clock.tick(1)
  
  # When done
  pygame.quit()
  </code></pre>
  
  <p>As soon as I invoke this script, a single core of my machine spikes to 100%, although the messages are only being printed to the console at the expected 1 FPS update rate.</p>
  
  <pre><code>$ ps aux | grep python
  mclark   25867 97.4  0.1 652232 29088 pts/0    Sl+  13:10   0:06 python highCPU.py
  </code></pre>
  
  <p>And running latest pyGame</p>
  
  <pre><code>$ pip show pygame
  Name: pygame
  Version: 1.9.3
  Summary: Python Game Development
  Home-page: http://www.pygame.org
  Author: Pete Shinners, Rene Dudfield, Marcus von Appen, Bob Pendleton, others...
  Author-email: pygame@seul.org
  License: LGPL
  Location: /home/mclark/.local/lib/python2.7/site-packages
  Requires: 
  </code></pre>
  
  <p>Is this a possible bug in the latest version of pyGame? Or am I managing time incorrectly?</p>