completer unhashable type

Bug #926409 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gedit Developer Plugins
Fix Released
High
Curtis Hovey

Bug Description

PythonProposal can have an object that is used to generate TextDoc from. The base class cannot work with some objects. Since other proposals are added only when PythonProposal is not certain, the hash does not need use _info...to words are the same regardless of their origin, and the word with less info is less likely to be added.

TypeError: unhashable type: 'dict'
Traceback (most recent call last):
  File "/home/curtis/.local/share/gedit/plugins/gdp/complete.py", line 107, in do_hash
    return self.__hash__()
  File "/home/curtis/.local/share/gedit/plugins/gdp/complete.py", line 95, in __hash__
    return hash((type(self), self._word, self._info))
TypeError: unhashable type: 'dict'

Curtis Hovey (sinzui)
Changed in gdp:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in gdp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.