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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, jnferguson
Date 2008-04-08.16:17:12
SpamBayes Score 0.075335704
Marked as misclassified No
Message-id <1207671433.53.0.664537707653.issue2587@psf.upfronthosting.co.za>
In-reply-to
Content
This is done already:
the second line in PyString_FromStringAndSize() is
    assert(size>=0);
You have to build python in debug mode though...

Oh, I realize this is not a real patch: no error is raised, and why
PYSSIZE_T_MAX/sizeof(PyStringObject), when the allocation is    
PyObject_MALLOC(sizeof(PyStringObject)+size)?
History
Date User Action Args
2008-04-08 16:17:13amaury.forgeotdarcsetspambayes_score: 0.0753357 -> 0.075335704
recipients: + amaury.forgeotdarc, jnferguson
2008-04-08 16:17:13amaury.forgeotdarcsetspambayes_score: 0.0753357 -> 0.0753357
messageid: <1207671433.53.0.664537707653.issue2587@psf.upfronthosting.co.za>
2008-04-08 16:17:12amaury.forgeotdarclinkissue2587 messages
2008-04-08 16:17:12amaury.forgeotdarccreate