update exception syntax for Py3k
bugfix in returning a list in Py3k