string from unicode (0) does not return a string

Issue #221 resolved
Turgut Guneysu created an issue

string from unicode (0) does not return a string

Also the reverse function unicode 1 of __ with value unicode(0) returns list or string index error due to above.

Comments (2)

  1. John Maloney repo owner

    The result of string from unicode (0) is actually a string -- the empty string. The empty string doesn’t display, but you can use the length of block to see that its length is zero. You get the error because the index 1 is greater than the length of the string.

  2. Log in to comment