Hi,
I have an object (pygame.mixer.Sound) and, to convert it to a picklable format, 
I can run:

sound_object.get_raw()

and to turn that back into an object, I can run:

sound_object = pygame.mixer.Sound(raw_data)

Is it possible to use copyreg or something similar so it's done automatically 
when I pickle pygame.mixer.Sound() objects?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to