[Image-SIG] PIL and py2app

Fredrik Lundh fredrik at pythonware.com
Thu Nov 17 17:58:25 CET 2005


Bob Ippolito wrote:

> It'd have been a lot easier to track down this particular issue if
> the IOError given was the same one you get when doing open
> (nonExistentFile).. not sure if that's reasonable or not, though.

the driver uses the error string returned by the underlying library.  if not
else, this incident provides that it might be a good idea to add a bit more
information to the exception string (in this case, my code knows that I'm
trying to open a given file, so it could at least mention that...)

</F> 





More information about the Image-SIG mailing list