Telofy/pyvows — comment on commit 152f4a68ba489871fd84d0147b954e8bb64410cf
File: pyvows/runner.py line 106
By Telofy:

Sure. The problem—in conjunction with the problem a few lines earlier—is that the class that I wanted to ignore was never intended as Context and thus does not have a topic method. Here, however, it is turned into a Context. The error was something about a missing topic_value attribute. I’ll reproduce it when I have the time. It’s probably just that I haven’t yet discovered the reason why (sub-)contexts can’t simply be required to be subclasses of Context. That of course may be due to the duck typing philosophy, which somehow seems to collide with explicitness in this case. If I were able to just explicitly ignore the attribute, the problem wouldn’t arise in the first place, so I haven’t changed anything here.