Ed Leafe wrote: > Paul, I wasn't sure how to fix these two scripts. Since you wrote them, you > might have a better idea. I labeled the bare except: lines with FIXME > comments: > lib/reportWriter.py > lib/uuid.py
Ok. uuid.py I just copied from code that eventually made it into the python standard library, so once we require python 2.5 and higher we can probably ditch it. I need to think about the implications in the report writer. On one hand, we want exceptions to propagate so the appdev or the dabodev can find and fix the problem efficiently. OTOH, some of these errors could potentially percolate up from user data, in which case we probably don't want the report to fail to generate but instead want to set a default value, log the error, and continue. Evaluating user code is dangerous so I already know I need to put more defenses in there anyway. Thanks for the tedious work of fixing all those bare excepts. It will undoubtedly result in some more bug reports... bugs that haven't been noticed until now. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
