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.

Author scoder
Recipients Windson Yang, scoder
Date 2018-10-14.13:13:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539522804.44.0.788709270274.issue34912@psf.upfronthosting.co.za>
In-reply-to
Content
If I understand the code right, "PY_SSIZE_T_MAX/sizeof(Py_UCS4)" would not be correct since it would unnecessarily limit the length of ASCII-only unicode strings.

I think the initial check avoids the risk of integer overflow in the calculations below, so it's not entirely redundant.
History
Date User Action Args
2018-10-14 13:13:24scodersetrecipients: + scoder, Windson Yang
2018-10-14 13:13:24scodersetmessageid: <1539522804.44.0.788709270274.issue34912@psf.upfronthosting.co.za>
2018-10-14 13:13:24scoderlinkissue34912 messages
2018-10-14 13:13:24scodercreate