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 belopolsky
Recipients belopolsky, jnferguson, lemburg, nnorwitz
Date 2008-04-12.03:42:10
SpamBayes Score 0.18920925
Marked as misclassified No
Message-id <1207971731.37.0.996386025234.issue2620@psf.upfronthosting.co.za>
In-reply-to
Content
Justin,

Where did you find the definition that you cited:

 95 #define PyMem_RESIZE(p, type, n) \
 96   ( assert((n) <= PY_SIZE_MAX / sizeof(type)) , \
 97         ( (p) = (type *) PyMem_REALLOC((p), (n) * sizeof(type)) ) )

?

Current Include/pymem.h does not have the assert:

     94 #define PyMem_RESIZE(p, type, n) \
     95         ( (p) = (type *) PyMem_REALLOC((p), (n) * sizeof(type)) 
)

and it did not change for a while.
History
Date User Action Args
2008-04-12 03:42:11belopolskysetspambayes_score: 0.189209 -> 0.18920925
recipients: + belopolsky, lemburg, nnorwitz, jnferguson
2008-04-12 03:42:11belopolskysetspambayes_score: 0.189209 -> 0.189209
messageid: <1207971731.37.0.996386025234.issue2620@psf.upfronthosting.co.za>
2008-04-12 03:42:10belopolskylinkissue2620 messages
2008-04-12 03:42:10belopolskycreate