[Pythonmac-SIG] Library "too new"?

Jack Jansen jack@oratrix.nl
Fri, 31 Dec 1999 16:44:25 +0100


Recently, Skip Montanaro <skip@mojam.com> said:
> What's this mean?
> 
>   >>> import DateTime
>   ...
>   ImportError: PythonCore: An import library was too new for a client.
> 
> This is using the precompiled mxDateTime module that comes with the
> mxDateTime package.

MacPython dynamic modules aren't portable between releases. The
machinery is there, but because PythonCore also contains the whole C
library the version number has to be upped not only for python API
version number changes but also for new C libraries. The error message 
comes from the MacOS dynamic loader, which actually _checks_ that a
dll is compatible with the version used during compilation (unlike
some Other OS that shall remain nameless, which happily lets your
application crash lateron:-)

Or, in short: the message means exactly what it says:-)
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm