The buffer returned by ImageSurface.get_data() under Python 2 now implements the character buffer interface to make it work with pygame.image.frombuffer(). #pr-29

All C enum types now have their own corresponding Python enum type: Antialias , Content , Extend , FillRule , Filter , FontSlant , FontWeight , Format , HintMetrics , HintStyle , LineCap , LineJoin , Operator , PDFVersion , PSLevel , PathDataType , RegionOverlap , SVGVersion , Status , SubpixelOrder . #26

All relevant constants are now an alias to attributes of those types e.g. ANTIALIAS_DEFAULT is the same as Antialias.DEFAULT .

All functions returning enum values now return instances of the new types e.g. Context.get_antialias() returns a Antialias .