Use python3-compactible except syntax
Use exc_info for logging tracebacks
Use sys.get/setswitchinterval on python 3
Handle no nosetests in setup.py
Use log.warning instead of log.warn