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 nevyn
Recipients donmez, gvanrossum, jafo, nevyn
Date 2007-09-20.01:30:22
SpamBayes Score 0.03372462
Marked as misclassified No
Message-id <1190251823.41.0.521345231953.issue1179@psf.upfronthosting.co.za>
In-reply-to
Content
Guido: It's true that that len can be slightly bigger than x*y, the big
thing is that it can't be smaller so we can malloc(len) and use upto x*y
(which was my main focus).
 I first looked at any of this code today, but I didn't see any reason
that having len be slightly larger would be a problem ... and in pretty
much all cases it'll be len == x*y.

 However we could have both cases covered by doing:

 if ( (len != x*y) || (x != (len / y)) )

...but esp. at that point it seems like we'd want some interface so that
we could just do something like:

 if ( check_mutliplies2(len, x, y) )
History
Date User Action Args
2007-09-20 01:30:23nevynsetspambayes_score: 0.0337246 -> 0.03372462
recipients: + nevyn, gvanrossum, jafo, donmez
2007-09-20 01:30:23nevynsetspambayes_score: 0.0337246 -> 0.0337246
messageid: <1190251823.41.0.521345231953.issue1179@psf.upfronthosting.co.za>
2007-09-20 01:30:23nevynlinkissue1179 messages
2007-09-20 01:30:22nevyncreate