Mark Dickinson <dicki...@gmail.com> added the comment: > 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>. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15119> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com