Re: inconsistency in Python SWIG return parameters
From: Greg Stein <gstein_at_lyra.org>
Date: 2003-02-28 02:37:44 CET
On Thu, Feb 27, 2003 at 04:53:44PM -0800, Marshall White wrote:
Any Python function must return an object; this is part of the "spec", if
> Setting "Py_None" right off the bat makes it the
Right.
> I would also guess that
Yup. For C implementations of a Python function/method/etc, returning a NULL
> I believe this whole problem would be relatively simple to work around IF a
It is technically okay, but that means that all callers will be receiving
pool = svn.util.svn_pool_create(parent_pool)
That will no longer do what you think. "pool" will now be a singleton,
(pool,) = ...
or simply:
pool, = ...
Either way... a pain.
But no matter for this particular case. I just posted what I believe is a
Cheers,
-- Greg Stein, http://www.lyra.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Fri Feb 28 02:33:00 2003 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.