You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix reference to ob_type in unionobject.c and ceval #86265
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/vstinner'closed_at=<Date2020-10-27.19:01:50.886>created_at=<Date2020-10-20.19:18:59.370>labels= ['interpreter-core', 'type-feature']
title='Fix reference to ob_type in unionobject.c and ceval'updated_at=<Date2020-10-27.19:01:50.886>user='https://github.com/nascheme'
It is great that access to ob_type has been cleaned up to use an access macro. There are two spots that still need fixing.
I think we should do something to help avoid this kind of thing slipping into the code in the future. E.g. a special build flag that renames the ob_type member would work. I'll make a separate bug for that.
Activity
nascheme commentedon Oct 20, 2020
It is great that access to ob_type has been cleaned up to use an access macro. There are two spots that still need fixing.
I think we should do something to help avoid this kind of thing slipping into the code in the future. E.g. a special build flag that renames the ob_type member would work. I'll make a separate bug for that.
markshannon commentedon Oct 27, 2020
New changeset 0564aaf by Neil Schemenauer in branch 'master':
bpo-42099: Fix reference to ob_type in unionobject.c and ceval (GH-22829)
0564aaf
markshannon commentedon Oct 27, 2020
Thanks Neil