[Scipy-tickets] [SciPy] #1374: pilutil - PIL import hash collision

SciPy Trac scipy-tickets@scipy....
Wed Sep 14 01:08:43 CDT 2011

#1374: pilutil - PIL import hash collision
  Reporter:  klaush      |       Owner:  somebody
      Type:  defect      |      Status:  closed  
  Priority:  low         |   Milestone:  0.10.0  
 Component:  scipy.misc  |     Version:  0.8.0   
Resolution:  fixed       |    Keywords:          
Changes (by rgommers):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  Unscheduled => 0.10.0


 This is now changed to try the current recommended import statement first.
     from PIL import Image, ImageFilter
 except ImportError:
     import Image
     import ImageFilter
 I think that closes the issue. I don't think we should be putting it in
 sys.modules manually because PIL can't get its imports straight.

 Will backport to 0.10.x too.

Ticket URL: <http://projects.scipy.org/scipy/ticket/1374#comment:3>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list