[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH/RFC] Fix refcount on some Python callbacks

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: Mon, 14 Apr 2008 15:23:17 -0700

Jelmer Vernooij <jelmer_at_samba.org> writes:

> Can you give an example of how you do this? I tried adding them to a
> list but that didn't seem to work.

See http://gvn.googlecode.com/svn/trunk/lib/gvn/svnauth.py

  # The bindings don't hold references to my callbacks, so when we
  # return, they're all freed. Work around it for now.
  return (svn_config_dir_utf8, SimplePrompt, UsernamePrompt, SSLServerTrustPrompt, SSLClientCertPrompt, SSLClientCertPwPrompt, auth_baton)

--
Eric Gillespie <*> epg_at_pretzelnet.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-15 00:23:27 CEST

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.