Qt4Agg backend possible bug

I just mentioned this problem with Qt4Agg and python 3.4 in another thread
[1], but I decided to post it on a thread of its own, as I suspect it might
be a bug in the Qt4Agg backend.

I get a NameError exception (see backtrace below) when trying to use key
events in matplotlib (master branch rev:
e322d5f5bb024bbec44d3ba76da1bc16bf52af9c), python 3.4.1, and pyqt 4.10.
Is this a bug?





NameError Traceback (most recent call last)

, event=<PyQt4.QtGui.QKeyEvent object>)

    309 def keyReleaseEvent(self, event):
--> 310 key = self._get_key(event)
        key = undefined
        self._get_key = <bound method FigureCanvasQTAgg._get_key of
<matplotlib.backends.backend_qt4agg.FigureCanvasQTAgg object at 0x7f0393412948>>
        event = <PyQt4.QtGui.QKeyEvent object at 0x7f0393507a68>
    311 if key is None:
    312 return

in _get_key(self=<matplotlib.backends.backend_qt4agg.FigureCanvasQTAgg

, event=<PyQt4.QtGui.QKeyEvent object>)

    363 return None
--> 365 key = unichr(event_key)
        key = undefined
        global unichr = undefined
        global event_key = undefined
    366 # qt delivers capitalized letters. fix capitalization
    367 # note that capslock is ignored

NameError: name 'unichr' is not defined

[1] http://thread.gmane.org/gmane.comp.python.matplotlib.general/34361