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
Note that this needs to behave "as expected" for the three language levels 2, 3str and 3, but I think that should be ok. IIRC, str() gets mapped to unicode() (which is already optimised) in LL-3, but not in LL-2/3str, where the new optimisation would apply.
AFAICT they are equivalent. Found a usage of PyObject_str here and it looks like the optimization isn't made in other places where we just do
str(x)
.I was happy to see that the usage of PyUnicode_Join was unnecessary.
The text was updated successfully, but these errors were encountered: