This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Deeply recursive repr segfault
Type: crash Stage:
Components: Versions: Python 2.6
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: Rhamphoryncus, brett.cannon
Priority: critical Keywords:

Created on 2007-09-04 01:46 by Rhamphoryncus, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg55626 - (view) Author: Adam Olsen (Rhamphoryncus) Date: 2007-09-04 01:46
$ ./python -m timeit -s 'x = []
for i in range(100000):
    x = [x]' 'repr(x)'
Segmentation fault

I've tested this on 2.4, 2.5, and 3.0 trunk (although a few days old.)
msg55796 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2007-09-10 21:38
Fixed in rev. 58096.
Date User Action Args
2022-04-11 14:56:26adminsetgithub: 45437
2007-09-10 21:38:51brett.cannonsetstatus: open -> closed
versions: + Python 2.6
nosy: + brett.cannon
messages: + msg55796
assignee: brett.cannon
resolution: fixed
2007-09-10 21:21:09brett.cannonsetpriority: critical
2007-09-04 01:46:13Rhamphoryncuscreate