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
{{ message }}
Repository navigation
[Python] Remove usage of std::to_string and std::stoi #21045
Philipp Moritz / @pcmoritz:
Ok, I think I understand this now. On some implementations, int8_t seems to be a typedef to char and the conversion in this case produces a character and not a number.
Activity
asfimport commentedon Feb 6, 2019
Philipp Moritz / @pcmoritz:
Ok, I think I understand this now. On some implementations, int8_t seems to be a typedef to char and the conversion in this case produces a character and not a number.
asfimport commentedon Feb 6, 2019
Antoine Pitrou / @pitrou:
Yes, this is a pitfall of C++ streams as well. You have to cast to/from a larger integer type.
asfimport commentedon Feb 18, 2019
Francois Saint-Jacques / @fsaintjacques:
I think that @pitrou proposed change is probably the least invasive and require the least effort.
asfimport commentedon Feb 26, 2019
Antoine Pitrou / @pitrou:
Issue resolved by pull request 3758
#3758