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 mark.dickinson
Recipients mark.dickinson, meador.inge
Date 2012-06-21.10:17:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340273855.74.0.921219019929.issue15119@psf.upfronthosting.co.za>
In-reply-to
Content
> At a guess, BITS.M should therefore look like <Field type=c_int, 
> ofs=0:17, bits=1> instead.

Refined guess:  it should be <Field type=c_short, ofs=2:1, bits=1>.

Tests for this issue should also cover cases like:

    _fields_ = [("A", c_int, 13), ("M", c_short, 5)]

where M should end up being described as <Field type=c_short, ofs=2:0, bits=5>.
History
Date User Action Args
2012-06-21 10:17:35mark.dickinsonsetrecipients: + mark.dickinson, meador.inge
2012-06-21 10:17:35mark.dickinsonsetmessageid: <1340273855.74.0.921219019929.issue15119@psf.upfronthosting.co.za>
2012-06-21 10:17:35mark.dickinsonlinkissue15119 messages
2012-06-21 10:17:34mark.dickinsoncreate