[3.6] bpo-31619: Fixed a ValueError when convert a string with large … · python/cpython@b5a630f · GitHub
Skip to content

Commit b5a630f

Browse files
miss-islingtonserhiy-storchaka
authored andcommitted
[3.6] bpo-31619: Fixed a ValueError when convert a string with large number of underscores (GH-3827) (#3863)
to integer with binary base. (cherry picked from commit 85c0b89)
1 parent ec47aff commit b5a630f

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

Lib/test/test_int.py

Lines changed: 8 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fixed a ValueError when convert a string with large number of underscores
2+
to integer with binary base.

Objects/longobject.c

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)