[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-issues
Subject:    =?UTF-8?B?W0lzc3VlIDIyODNdIE5ldyAtIFB5dGhvbiBiaW5kaW5ncyBmb3Igcw==?=
From:       bdash () tigris ! org
Date:       2005-04-26 22:17:16
Message-ID: 20050426221716.8202.qmail () tigris ! org
[Download RAW message or body]

http://subversion.tigris.org/issues/show_bug.cgi?id=2283
                 Issue #|2283
                 Summary|Python bindings for svn_fs_set_warning_func fails with
                        | TypeError
               Component|subversion
                 Version|trunk
                Platform|Macintosh
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|bindings_swig_python
             Assigned to|issues@subversion
             Reported by|bdash






------- Additional comments from bdash@tigris.org Tue Apr 26 15:17:16 -0700 2005 -------
It is not possible to use svn_fs_set_warning_func from Python as it expects an argument of type 
svn_fs_warning_callback_t which is not yet wrapped.  When calling it as:

  svn.fs.set_warning_func(fs_ptr, my_warning_func, None)

I receive an exception of:

TypeError: argument number 2: a 'svn_fs_warning_callback_t' is expected, 'function(<function 
my_warning_func at 0x1342970>)' is received

It is very desirable to be able to specify a custom warning function as the default (which delegates to 
abort) is less than perfect in many situations.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@subversion.tigris.org
For additional commands, e-mail: issues-help@subversion.tigris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic