[C++-SIG] Re: bug in setattr_handler?

Barry Scott barry at scottb.demon.co.uk
Mon May 22 20:05:44 CEST 2000


I have commited to SOurceForge the fixes to return values from the handler functions.

Exceptions show up straight away how.

		BArry


> -----Original Message-----
> From: c++-sig-admin at python.org [mailto:c++-sig-admin at python.org]On
> Behalf Of Phil Austin
> Sent: 18 May 2000 19:20
> To: Barry Scott
> Cc: Python C++-Sig
> Subject: RE: [C++-SIG] Re: bug in setattr_handler?
> 
> 
> Barry Scott writes:
> 
>  > If you test your setatr version of the example you should see the exception
>  > in Python.
>  > 
> 
> Right, returning -1 from setattr_handler did the trick.  I guess this
> need to be changed on all the handlers that return int or long?
> 
> Regards Phil.
> 
> 
> _______________________________________________
> C++-SIG maillist  -  C++-SIG at python.org
> http://www.python.org/mailman/listinfo/c++-sig
> 




More information about the Cplusplus-sig mailing list