Author rhettinger
Recipients rhettinger
Date 2020-04-14.01:12:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586826721.81.0.357033101024.issue40276@roundup.psfhosted.org>
In-reply-to
Content
Given:

    class A:
        __slots__ = ['x', 'y', 'z')

    mo = vars(A)['x']

The field number should be viewable:

    >>> mo.offset
    0

And the __repr__ should be:

    >>> mo
    <member 'x' at slot_offset 0 of 'A' objects>
History
Date User Action Args
2020-04-14 01:12:01rhettingersetrecipients: + rhettinger
2020-04-14 01:12:01rhettingersetmessageid: <1586826721.81.0.357033101024.issue40276@roundup.psfhosted.org>
2020-04-14 01:12:01rhettingerlinkissue40276 messages
2020-04-14 01:12:01rhettingercreate