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
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=Noneclosed_at=<Date2008-07-02.23:07:20.515>created_at=<Date2008-07-01.00:10:49.983>labels= ['expert-regex', 'type-bug']
title='dir of an "_sre.SRE_Match" object not working'updated_at=<Date2008-07-02.23:07:20.514>user='https://bugs.python.org/vizcayno'
The cause is that this object use a custom tp_getattr slot, and use
Py_FindMethod from there. and py3k removed the special "__methods__"
lookup that allowed to lists these items.
Of course, nowadays the way to add methods is not to put them in
tp_getattr, but in a tp_methods slot.
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: