[Python-3000] PEP 368: Standard image protocol and class

Robert Kern robert.kern at gmail.com
Sun Jul 1 00:33:07 CEST 2007


Lino Mastrodomenico wrote:
> Hi everyone,
>> I have submitted a new PEP:
>> http://www.python.org/dev/peps/pep-0368/
>> It starts from a Pete Shinners' suggestion and from the consideration
> that there are a lot of Python libraries that use image objects, but
> almost all of them have implemented their own image classes,
> incompatible with everyone else's (and often not very pythonic).

Could you build this on top of the new buffer protocol that we're working on?
 http://www.python.org/dev/peps/pep-3118/
Enabling this kind of data sharing is precisely what the new buffer type is
intended for.
-- 
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
 -- Umberto Eco


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /