This patch came to me via Debian bug #453092 (http://bugs.debian.org/453092).
The SPE (Stani's Python Editor) folks have made some minor improvements to pychecker2/main.py, to make it handle errors better and make it more flexible.
I have integrated these changes into the Debian pychecker package. I would like to see them pushed into upstream CVS so I don't need to maintain a diff.
The changes are straightforward and look safe to me, and since SPE is already using them this implies that they work properly.