[Python-ideas] PEP proposal: unifying function/method classes

2018-03-22 Thread Jeroen Demeyer
Dear python-ideas, I would like to draft a PEP to change the implementation of functions and methods in CPython. The idea for this PEP come from a discussion on https://bugs.python.org/issue30071 The core idea of the PEP is to reorganize classes for functions and methods with the goal of rem

Re: [Python-ideas] PEP proposal: unifying function/method classes

2018-03-22 Thread Antoine Pitrou
On Thu, 22 Mar 2018 21:34:44 +0100 Jeroen Demeyer wrote: > Dear python-ideas, > > I would like to draft a PEP to change the implementation of functions > and methods in CPython. The idea for this PEP come from a discussion on > https://bugs.python.org/issue30071 > > The core idea of the PEP is

Re: [Python-ideas] PEP proposal: unifying function/method classes

2018-03-22 Thread Jeroen Demeyer
On 2018-03-23 00:36, Antoine Pitrou wrote: It does make sense, since the proposal sounds ambitious (and perhaps impossible without breaking compatibility). Well, *some* breakage of backwards compatibility will be unavoidable. My plan (just a plan for now!) is to preserve backwards compatibili