-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Collin Winter wrote:
> Before posting a bug report, I thought I'd ask for some confirmation
> of what I perceive to be a flaw in SVN's python bindings:
...
>>>>import svn.client
>>>>svn.client.import()
>
> File "<stdin>", line 1
> svn.client.import
> ^
> SyntaxError: invalid syntax
...
> The reason for this is that "import" is a keyword in python.
...
> Short of renaming the C function in libsvn_client/commit.c, the only
> solution I see is special-casing this function in the SWIG-generated
> bindings, perhaps renaming its python-side version to 'client_import'
> or something.
>>> import svn.client
>>> svn.client.svn_client_import
<built-in function svn_client_import>
Max.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
iD8DBQFDtBsLfFNSmcDyxYARAragAJ497yYLH4c+HiYXzE8XtKMZ425jWACgyBbS
drxMU1um1+IgwYBdRy4vWDA=
=0xDR
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 29 18:23:44 2005