Closed bfontaine closed 3 years ago
I merged #77 and released, but saw after that the tests are failing on Python 2 due to encoding issues: unicode characters can’t be encoded in str; it needs to be unicode. 😭
str
unicode
So Char must subclass unicode in Python 2, rather than str.
Char
I merged #77 and released, but saw after that the tests are failing on Python 2 due to encoding issues: unicode characters can’t be encoded in
str
; it needs to beunicode
. 😭So
Char
must subclassunicode
in Python 2, rather thanstr
.