'undefined' is not an object (evaluating 'v.__class__.__name__')

Issue #17 resolved
repo owner created an issue

str(o) calls o.__str__ but expects to receive a py.str (or at least a py.object) on which it can access .__class__.__name__. This blows up if it receives a JS object (or value) or some sort, such as a javascript string (which is normal-ish, it should blow up any time it receives a non-py.str), but it blows up with the error above losing the original error in the process.

Comments (2)

  1. Log in to comment