bpo-31619: Fixed a ValueError when convert a string with large number of underscores (#3827)

to integer with binary base.
3 files changed