Some of the CEF Python functions are checking the string type using code like
this:
if type(s) == unicode..
if type(s) == str..
Functions in string_utils.pyx are doing it in a such manner.
If we want to support string subtypes, checks need to be like this:
if isinstance(s, unicode)..
if isinstance(s, str)..
Original issue reported on code.google.com by czarek.t...@gmail.com on 9 Jan 2014 at 8:42
Original issue reported on code.google.com by
czarek.t...@gmail.com
on 9 Jan 2014 at 8:42