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 ztane
Recipients Adrian Wielgosik, Demur Rumed, mark.dickinson, serhiy.storchaka, vstinner, ztane
Date 2016-05-25.06:01:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464156084.93.0.875459302492.issue27097@psf.upfronthosting.co.za>
In-reply-to
Content
Casting the pointer is OK, explicitly typing the pointer is even better; then the arithmetic is even clearer and it is easy to add offsets in words!

However what I'd prefer here as the size of the type is important, to use `uint16_t` or typedef instead of just `unsigned short`, which is a statemeent that the value must be at least "2 bytes wide".
History
Date User Action Args
2016-05-25 06:01:24ztanesetrecipients: + ztane, mark.dickinson, vstinner, serhiy.storchaka, Demur Rumed, Adrian Wielgosik
2016-05-25 06:01:24ztanesetmessageid: <1464156084.93.0.875459302492.issue27097@psf.upfronthosting.co.za>
2016-05-25 06:01:24ztanelinkissue27097 messages
2016-05-25 06:01:24ztanecreate