[Zope-dev] A suggestion for changing exception handler when loading 'c' optimisations to make modules more friendly for GAE
Tobias Rodäbel
tobias.rodaebel at mac.com
Fri Jul 3 05:05:34 EDT 2009
On 03.07.2009, at 10:38, Chris Withers wrote:
> Tim Hoffman wrote:
>> gae/1.333250465889549129/zope/i18nmessageid/
>> _zope_i18nmessageid_message.py",
>> line 6, in __bootstrap__
>> imp.load_dynamic(__name__,__file__)
>> File "/base/python_dist/lib/python2.5/py_imp.py", line 116, in
>> load_dynamic
>> raise NotImplementedError('This function is not supported on App
>> Engine.')
>
> This actually feels like a bug in GAE to me... This should be an
> ImportError...
Sorry, I don't agree. We assume an imp.load_dynamic function from what
we read in the python documentation. But the implementation in GAE
does not provide the expected api. So the NotImplementedError seems
absolutely correct to me (see http://www.python.org/doc/2.5.2/lib/module-exceptions.html#l2h-114)
.
Tobias
More information about the Zope-Dev
mailing list