[issue36188] Remove vestiges of Python 2 unbound methods from Python 3

2019-03-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b727239575894b060db37792e86aab818c00817a by Benjamin Peterson (Martijn Pieters) in branch 'master': closes bpo-36188: Clean up 'unbound' method left-overs. (GH-12169) https://github.com/python/cpython/commit/b727239575894b060db37792e86aab818c

[issue36188] Remove vestiges of Python 2 unbound methods from Python 3

2019-03-04 Thread Martijn Pieters
Change by Martijn Pieters : -- keywords: +patch pull_requests: +12167 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue36188] Remove vestiges of Python 2 unbound methods from Python 3

2019-03-04 Thread Martijn Pieters
New submission from Martijn Pieters : The implementation of method_hash, method_call and method_descr_get all still contain assumptions that __self__ can be set to None, a holdover from Python 2 where methods could be *unbound*. These vestiges can safely be removed, because method_new() and P