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 christian.heimes
Recipients alexandre.vassalotti, brett.cannon, christian.heimes, gvanrossum
Date 2007-10-26.00:30:36
SpamBayes Score 0.0022492963
Marked as misclassified No
Message-id <47213527.1070201@cheimes.de>
In-reply-to <1193357969.06.0.923641373901.issue1302@psf.upfronthosting.co.za>
Content
Alexandre Vassalotti wrote:
> It the address of lower[18] to be exact. (l < &lower[(sizeof lower) -
> 2]) is simply tricky notation to check the bound of the array.
> Personally, I used like to subtract pointer, ((lower - l + 1) < (sizeof
> lower)) to get the bound. But now, I find Guido's trick more cute (and
> less error-prone). :)

Wow, that's a cool trick. The old wizard has still some astonishing
tricks in the sleeves of his robe. :]
History
Date User Action Args
2007-10-26 00:30:36christian.heimessetspambayes_score: 0.0022493 -> 0.0022492963
recipients: + christian.heimes, gvanrossum, brett.cannon, alexandre.vassalotti
2007-10-26 00:30:36christian.heimeslinkissue1302 messages
2007-10-26 00:30:36christian.heimescreate