Message232187
| Author |
vstinner |
| Recipients |
rhettinger, serhiy.storchaka, vstinner |
| Date |
2014年12月05日.09:41:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1417772476.08.0.633036066292.issue22984@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> I think this patch will break the purpose of the test. We should fix the issue instead of hide it from tests.
The test ensures that json calls Py_EnterRecursiveCall() which relies on sys.getrecursionlimit(), see the commit below.
There is no generic fix for C stack overflow. The tes failed on Windows XP which is no more supported, I don't think that it's interesting to spend time on it.
changeset: 70021:9557e4eeb291
branch: 3.1
parent: 69997:b7abf0590e1c
user: Ezio Melotti <ezio.melotti@gmail.com>
date: Wed May 11 01:02:56 2011 +0300
files: Lib/json/tests/test_recursion.py Misc/NEWS Modules/_json.c
description:
#12051: Fix segfault in json.dumps() while encoding highly-nested objects using the C accelerations. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年12月05日 09:41:16 | vstinner | set | recipients:
+ vstinner, rhettinger, serhiy.storchaka |
| 2014年12月05日 09:41:16 | vstinner | set | messageid: <1417772476.08.0.633036066292.issue22984@psf.upfronthosting.co.za> |
| 2014年12月05日 09:41:16 | vstinner | link | issue22984 messages |
| 2014年12月05日 09:41:15 | vstinner | create |
|