[Bf-python] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/include BDR_editcurve.h BIF_editarmature.h BIF_meshtools.h blender/source/blender/python/api2_2x Object.c blender/source/blender/python/api2_2x/doc Object.py blender/source/blender/src editarmature.c editcurve.c meshtools.c

Toni Alatalo antont at kyperjokki.fi
Tue Jan 3 06:17:21 CET 2006


On Tuesday 03 January 2006 06:56, Campbell Barton wrote:
> Python coders should realy check that thw join worked and not just
> assume it did.

rising exceptions is a nice way to force that :)

> Maybe Ill have defferent exceptions for input error and blender join
> failier just document how try/except should be used with this function.

yup, often the existing error/exceptions types like ValueError, AttributeError 
etc. fit but we can also introduce new types, like .. err .. 
CoolSoundingBlenderSpecificExceptionNameHereException if needed

> - Cam

~Toni



More information about the Bf-python mailing list