[Python-Dev] PyObject_New vs PyObject_NEW
Martin v. Löwis
13 Mar 2003 08:46:13 +0100
David Abrahams <firstname.lastname@example.org> writes:
> email@example.com (Martin v. LÂŽÃ¶wis) writes:
> > David Abrahams <firstname.lastname@example.org> writes:
> >> Sure, but that's only an issue if you are allocating resources in one
> >> runtime lib and deallocating in another AFAIK.
> > No. You also cannot pass struct FILE* from one C library to the other;
> > file locking will then crash.
> A file is a resource.
Yes, but printf is neither allocation nor deallocation.