pygame.font.SysFont(None, 20) crashes pyinstaller generated .exe

Creating a font object with name = None causes pyinstaller generated .exes to crash with no traceback for explanation instead reporting that "xxxxx.exe has stopped working".

importpygameimportsyspygame.init()windowSurface=pygame.display.set_mode((450,25),0,32)pygame.display.set_caption('Breaking pygame')x=None# broken_pygame.exe#x = 'Sans' # non-broken_pygame.exeprint"This is the line that breaks the .exe's"basicFont=pygame.font.SysFont(x,20)print'See, I never make it here when that is None'text=basicFont.render("I can crash pyinstaller .exe's that use pygame!",True,(255,0,0))textRect=text.get_rect()windowSurface.blit(text,textRect)pygame.display.update()whileTrue:foreventinpygame.event.get():ifevent.type==pygame.QUIT:pygame.quit()sys.exit()

Using a valid name (ie. 'Sans') does not crash pyinstaller generated .exe files.