[Image-SIG] why does Image.open fail after reload(Image) -- fixable bug ??

Steve Holden steve at holdenweb.com
Mon Apr 14 23:07:07 CEST 2008


Sebastian Haase wrote:
> On Mon, Apr 14, 2008 at 9:26 PM, Nicolas Pinault
> <nicolas at famillepinault.fr> wrote:
>>
>>> Hi,
>>>
>>> this is a short question:
>>>
>>> Why does Image.open fail after reload(Image) ?
>>>
>>>
>>  Why do you need to reload Image package ?
>>
>>  Nicolas
> 
> I have a "reloadAll" function -- and then it's always quite annoying
> if I have to "reboot" Python ;-)
> Also I think the when I want to add new things to PIL itself, a reload
> would be very convenient !!
> 
Indeed it would, but unless I am out of date there is no mechanism to 
reload extension (compiled) modules, so _imaging would have to stay 
there once loaded.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/


More information about the Image-SIG mailing list