[Pythonmac-SIG] from PIL import Image vs. import Image

Just van Rossum just@letterror.com
Tue, 12 Jun 2001 10:26:52 +0200


I see that in MacPython 2.1 the standard sys.path is configured for PIL so you
have to do "import Image" instead of the now preferred "from PIL import Image".
I suggest we change this for the next release. But should we allow both ways, or
force people to update their programs to do "from PIL import Image"? I tend to
go for the latter...

Just