[issue28842] PyInstanceMethod_Type isn't hashable

2021-11-30 Thread Irit Katriel
Change by Irit Katriel : -- components: +Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue28842] PyInstanceMethod_Type isn't hashable

2021-11-30 Thread Irit Katriel
Change by Irit Katriel : -- type: behavior -> enhancement versions: +Python 3.11 -Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ ___

[issue28842] PyInstanceMethod_Type isn't hashable

2016-11-30 Thread Josh Rosenberg
Josh Rosenberg added the comment: Note: It's a little strange that instancemethod as a type sticks around even though literally nothing in Python uses it. Is there some reason we kept it in the 3.x transition? Extension types are using it, so I guess we can't drop it now, but I'm trying to fig

[issue28842] PyInstanceMethod_Type isn't hashable

2016-11-30 Thread David Wolever
New submission from David Wolever: The PyInstanceMethod_Type, unlike all other method types, isn't hashable. It seems like the code exists, it's just been commented out: https://github.com/python/cpython/blame/c30098c8c6014f3340a369a31df9c74bdbacc269/Objects/classobject.c#L569 This came up her