Re: pillow incompatibilities

Barry Warsaw <[email protected]> Fri, 8 Feb 2013 10:33:50 -0500
Newsgroups gmane.comp.python.image
Organization Damn Crazy Followers of the Horn
Message-ID <[email protected]>
--===============1887458361==
Content-Type: multipart/signed; micalg=PGP-SHA256;
 boundary="Sig_/uen5ToC9/VveXbS7xpBxP6E"; protocol="application/pgp-signature"

--Sig_/uen5ToC9/VveXbS7xpBxP6E
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Feb 08, 2013, at 07:21 AM, Alex Clark wrote:

>But there were other changes like removing "PIL.pth"
>which I think is what is actually responsible for the inability to do:
>
>>> import Image
>
>This was intentional.

And IMHO, a good thing.  PIL/Pillow need not be so special as to make claim=
 to
so much of the top-level namespace.  Of course, there's the backward
compatibility problem to deal with, but this is the right long-term change.

>That sounds like reverting one of the major changes facilitated by the for=
k,
>which I don't think is likely to happen. If you can do:
>
>>>> import Image
>
>you are using PIL, not Pillow.

I think that Matthias would like to just swap-in Pillow for PIL in Debian a=
nd
Ubuntu.  This gives application the additional opportunity to more easily p=
ort
to Python 3.

>> > For the details see https://launchpad.net/bugs/1112496
>
>Thanks for the update. Let me know if there is anything else I can do to he
>lp.

One thing that would be helpful would be to review my merge proposal for th=
at
bug, to see if there are any other top-level modules that should be exposed=
 by
the PILcompat.pth file.  The current set is described in Matthias's comment
here:

https://bugs.launchpad.net/ubuntu/+source/python-imaging/+bug/1112496/comme=
nts/13

with the merge proposal here:

https://code.launchpad.net/~barry/ubuntu/raring/python-imaging/lp1112496/+m=
erge/146740

Cheers,
-Barry

--Sig_/uen5ToC9/VveXbS7xpBxP6E
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRFRreAAoJEBJutWOnSwa/ARQQAJVOb//kYhC7IfIYTB3xH/zj
lf8RH8ZMrK+FeqkPWG9WWvMmPQpwsG+0drlrcZCYp/3vjhCgnJaRiSoQXq6RdGWc
ne7IR3S6kIWuRbCLhWWUlwvAeHpyBrLSGhrUQFqtkeU0+2wv3rUnvfeLH3stquay
gJrhr92SvKKuQbYBIrGAvQp516G5rK+JXYQbeQcJibcR/6OcOiVqOqL8CK83mXwe
/LjZkPP50kU/X8fgam/NABhqa+c+y5ZRO44WiqO5EvIUXUQp2OymJPM1VOr5IpQA
h7fkweRhgxOLqtDOdoESvRlhJPM4RvehRwB7av5eycgbmDbBZZq7+X9F327fc5qK
Ujps8x0zfoEiQHhg55ffvJJt1+73pSBASosR+YJALBXHGV+Z6uCdNnZNp+WIT2PD
PfYSrOooqQTZ+A9+SBRcTBmb7CgtRuyLodFx0ljhjlDo8B5ndFkTy4J6ybVch55W
09pvJaS9fNXRPC3wdAC5QM65wxWk9ZK1VssLhl9fXDxGmWoKxmYemvW3z8s5ESLr
s5BUtKx2S7Lva7O7/F1d/hs4TPWFl3ikniOPgi/WO2p03H0d7vWHdRyeOGBcg7uC
6Df9TIp5QKdYCj2s3azxLah1ck4V55Aj5umyK9nKFLimIBpQ9jqblPZnrPMC8m6T
BcX1degnvM/LLrXYf8hy
=w70k
-----END PGP SIGNATURE-----

--Sig_/uen5ToC9/VveXbS7xpBxP6E--



--===============1887458361==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

--===============1887458361==--