[Pythonmac-SIG] Embedding and PyObjC - 2.3 Framework?

Michael Hudson mwh at python.net
Wed Jul 16 16:34:47 EDT 2003


Glenn Andreas <gandreas at delver.com> writes:

> I've got the start of a project that I want to use PyObjC with
> embedded python, but I'm running into a problem.
>
> According to the PyObjC embedding docs, one should use the 2.3 based
> Python.Framework.  When I do this, when the objc is dynamically
> loaded, it fails, being unable to find PyDescr_IsData (and a quick nm
> & grep shows that it isn't in the 2.3 based framework that I
> downloaded last night).

PyDescr_IsData is a macro in 2.3.  Is your version of PyObjC built
against 2.2?

Cheers,
M.

-- 
  $ head -n 2 src/bash/bash-2.04/unwind_prot.c
   /* I can't stand it anymore!  Please can't we just write the
      whole Unix system in lisp or something? */
                                       -- spotted by Rich van der Hoff



More information about the Pythonmac-SIG mailing list