STINNER Victor <victor.stin...@haypocalc.com> added the comment:

syslog_exception() should be declared outside logexceptions(), so it's possible 
to call it directly. Example:

try:
  ...
except Exception:
  syslog_exception(*sys.exc_info())

----------
nosy: +haypo

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8214>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to