kamahen / pykythe

Generate code Python source cross-reference facts in Kythe format
Other
21 stars 3 forks source link

__str__, __unicode__ not handled properly on l.h.s. of assignment #43

Open kamahen opened 2 years ago

kamahen commented 2 years ago

t8.py:57

klass.__unicode__ = klass.__str__

The __unicode__ doesn't get highlighted, but the __str__ does. (And, in the next line, the __str__ doesn't get highlighted. Also, clicking on __unicode__ causes a server error (fail: anchor_to_lineno(vname('@3095:3102<__str__>','CORPUS','ROOT','tmp/pykythe_test/SUBST/home/peter/src/pykythe/test_data/t8.py',python),_922) at /home/peter/src/pykythe/browser/src_browser.pl:1107