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

Re: SVN Python questions and suggestions

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-10-01 01:33:28 CEST

Barry Scott wrote:

> Why do you have libsvn and svn packages?
>
> I would have thought you only need one package svn. The DLLs can be in
> the same dir as the public interface .py files. (Is this legacy?)

Because there are two levels of interfaces: libsvn just exposes the C
api in Python; svn builds on top of that.

> Why are the names of the python extension DLLs so short? Isn't this
> asking for trouble with DLL name collisions with other apps?
> The word count extension would be _wc would it not?

Python loads libraries from specific files; there's no ambiguity.

> I Suggest that the DDLs all have an _svn prefix. For example _svn_wc.dll

Like I said, there's no need.

> Why not rename to .pyd as is the convention on windows python.

Because .pyd is used by standalone native extensions that are imported
directly into Python scripts. These DLLs aren't meant to be used that
way, that's why we have the Python wrappers.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 1 01:34:21 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.