Oleg Broytmann <[EMAIL PROTECTED]> writes:

>    I see a way to do it once for the entire program using metaclasses but
> it's too complex to explain in a short email. (At least I think I see a
> way, but I may be wrong...)

Using a decorator might also be an interesting idea.  It can wrap the function
in the try/except and handle the exception somehow.

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to