You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have a very big project which i am trying to conver to py3 but keep it working on py2 in the meanwhile
after running futurize it breaks string type checks
from builtins import str
assert isinstance("s",str)
first can someone explains based on what futurize adds from builtins import str import ?
i have a very big project which i am trying to conver to py3 but keep it working on py2 in the meanwhile
after running futurize it breaks string type checks
from builtins import str
assert isinstance("s",str)
first can someone explains based on what futurize adds from builtins import str import ?
according to the documentation on your website (https://python-future.org/isinstance.html?highlight=isinstance#isinstance)
there would be no alternative but using unicode_literals to avoid this
but it doesnt make sense since everywere i read i see many against it
so bottom line is there a way to avoid this issue without unicode_literals
The text was updated successfully, but these errors were encountered: