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: Allow MAX_STRING_LENGTH limits to be changed at runtime
Type: enhancement Stage: resolved
Components: Versions: Python 3.4
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: chris.jerdonek, pitrou, vstinner
Priority: normal Keywords:

Created on 2012-07-28 16:13 by chris.jerdonek, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg166661 - (view) Author: Chris Jerdonek (chris.jerdonek) * (Python committer) Date: 2012-07-28 16:13
This issue is to allow the MAX_STRING_LENGTH limit defined in Python/traceback.c to be changed at runtime, as discussed in issue 15463, as well as the two related limits:

#define MAX_FRAME_DEPTH 100
#define MAX_NTHREADS 100
msg166694 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012-07-28 21:11
Sounds totally overkill to me.
msg166697 - (view) Author: Chris Jerdonek (chris.jerdonek) * (Python committer) Date: 2012-07-28 21:59
I don't have a problem with closing this as rejected if Victor agrees.
msg167155 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2012-08-01 18:03
> Sounds totally overkill to me.

I changed the maximum length of a string to 500 characters instead of
100. It should be enough for most cases.
Date User Action Args
2022-04-11 14:57:33adminsetgithub: 59684
2020-11-18 11:32:38iritkatrielsetstatus: open -> closed
resolution: rejected
stage: resolved
2012-08-01 18:03:34vstinnersetmessages: + msg167155
2012-07-28 21:59:58chris.jerdoneksetmessages: + msg166697
2012-07-28 21:11:39pitrousetnosy: + pitrou
messages: + msg166694
2012-07-28 16:13:52chris.jerdonekcreate