[Image-SIG] Adding Python 3 support
nakagami at gmail.com
Tue Oct 9 01:56:30 CEST 2012
Hi Brian, and all
I'm trying to suport python3.3 and python2.7 by one source
(please checkout py33py27 branch)
It seems to work at gif, jpeg and png. But other many image format
still not work.
That's most import bug(?) is only support Python2.7 and Python3.3
If you need widely version support, Probabry use 2to3 approach.
2012/10/8 Brian Crowell <brian at fluggo.com>:
> Hi. I'm interested in helping bring PIL to Python 3.
> I contacted Matthias Klose, the package maintainer for PIL, to see
> which codebase he thought would be best to do that on, and he pointed
> me to Pillow, so I'm here to ask about what's been done so far for
> Python 3 support and what I could do.
> I noticed there was a patch series porting PIL 1.1.6 to Py3k about
> four years ago at https://github.com/sloonz/pil-py3k. Barring anything
> else, it seemed like the best plan would be to port that patch series
> forward to Pillow, since the hardest thing about the conversion will
> be the bytes vs. str division, and that patch series claims to have
> worked out a lot of the kinks.
> The key question seems to be: What's the earliest version of Python
> you would want to support afterwards? Supporting earlier than 2.6
> isn't so hard in the C code, but might be difficult in the Python
> Let me know your thoughts on this, and if anyone's beaten me to working on this.
> Image-SIG maillist - Image-SIG at python.org
More information about the Image-SIG