Logic error in types.Unicode

Issue #109 resolved
Former user created an issue

There is a logic error in types.py in Unicode.convert_result_value function:

if not isinstance(value, unicode):
    return value.decode(engine.encoding)

Try this on interactive prompt:

print not isinstance(None, unicode)

This means that Python will try to evaluate None.decode(engine.encoding)

Comments (1)

  1. Log in to comment