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

Re: Status of ctypes Subversion bindings

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: Tue, 17 Jun 2008 19:41:20 -0700

I started testing csvn again, and found a problem.
csvn/core/__init__.py calls svn_cmdline_init! That function does
all kinds of things that are inappropriate for many programs
(e.g. mucking with locale, mucking with stdout, printing to
stderr, terminating the process). And it certainly shouldn't be
called on import.

I don't think calling that automatically is even acceptable for
the high-level binding. Who says my quick hack script has a
controlling tty? And who are you to terminate my process? :)

Maybe we can add a csvn.SimpleInit function for high-level
consumers who don't want to think about; anyone else will have to
read the documentation to see what all they may have to
initialize, and how those things may fail.

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-06-18 04:41:33 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.