RE: Python module/program

2011-01-27 Thread McCann, Brian
@lists.freeradius.org [mailto:freeradius-users-bounces+bmccann=andmore@lists.freeradius.org] On Behalf Of Terry Simons Sent: Wednesday, January 26, 2011 6:07 PM To: FreeRadius users mailing list Subject: Re: Python module/program Is the python module catching all exceptions? You need to make sure you

Re: Python module/program

2011-01-27 Thread Alan DeKok
McCann, Brian wrote: The python module is currently catching NO exceptions. There are no try/except blocks. Right now I just have the module simply printing something and returning “OK” for everything…just as a proof of concept. IIRC, the python libraries do trap signals, for a variety of

Re: Python module/program

2011-01-26 Thread Terry Simons
Is the python module catching all exceptions? You need to make sure you don't mask out the KeyboardInterrupt exception... otherwise, you may prevent Control-C from being passed up the stack. I'm not sure if that's your issue, but it sounds like it could be. It's considered a Python best