PyObject_Size

Scott Brady Drummonds scott.b.drummonds.nospam at intel.com
Tue Jan 27 14:48:28 EST 2004


Hi, everyone,

I'm seeing a problem in a legacy Python script in a tool I use where the
script is unable to load a shared library.  Version 1.5.2 of Python
complains that "...undefined symbol: PyObject_Size" while more recent
versions work just fine.

I presume that what's going on is that older versions of Python required
shared libraries that are Python-loadable to have this function (which I
realize returns an object's size) specified.  It also appears that new
versions don't require this function any more.  What happened in between
that old version and the current ones with regards to this symbol?  Why was
this required before but not any longer?

Thanks,
Scott

-- 
Remove ".nospam" from the user ID in my e-mail to reply via e-mail.





More information about the Python-list mailing list