BRML / climin

Optimizers for machine learning
Other
180 stars 66 forks source link

Signal handling fails for certain signals #19

Open adria-p opened 10 years ago

adria-p commented 10 years ago

When using the criterion climin.stops.OnSignal with signal.SIGUSR1 the module fails with the following message:

Exception TypeError: 'signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object' in <bound method OnSignal.del of <climin.stops.stops.OnSignal object at 0x22b58fd0>> ignored