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
In the experimental free-threading build of python-freethreaded.3.13.1 , the int() function unexpectedly accepts strings containing underscores (e.g., '1806_1') and silently converts them to integers by ignoring the underscores — returning 18061. print(int('1806_1')) # 18061
This behavior violates the documented and long-standing specification of int(), which should raise a ValueError for such input.