Issue 8417: bytes and bytearray constructors raise TypeError for very large ints (original) (raw)
Issue8417
Created on 2010-04-16 07:43 by abacabadabacaba, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg103300 - (view) | Author: Evgeny Kapun (abacabadabacaba) | Date: 2010-04-16 07:43 |
>>> bytes(10) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' >>> bytes(10 ** 100) Traceback (most recent call last): File "", line 1, in TypeError: 'int' object is not iterable | ||
msg103377 - (view) | Author: Benjamin Peterson (benjamin.peterson) * ![]() |
Date: 2010-04-16 22:36 |
Fixed in r80126. Thanks for the report! |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:59 | admin | set | github: 52664 |
2010-04-16 22:36:42 | benjamin.peterson | set | status: open -> closednosy: + benjamin.petersonmessages: + resolution: fixed |
2010-04-16 15:10:25 | mark.dickinson | set | nosy: + mark.dickinson |
2010-04-16 08:17:55 | ezio.melotti | set | priority: normalnosy: + ezio.melottistage: test neededversions: + Python 2.6, Python 2.7, Python 3.2 |
2010-04-16 07:43:54 | abacabadabacaba | create |