[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] BUG: seg fault when loading image from file object
Hi, I'm running pygame 1.7.1release against python 2.5.1 on various
windows flavors. When loading an image from a file object using
pygame.image.load(...) I encounter a segmentation fault. Passing in a
file name works fine, but since I also want to use the same code with
tar files, I'd prefer to use file objects.
To reproduce:
import pygame
pygame.init()
pygame.image.load( file( 'foo.png' ) )
Thanks!