Re: [sage-devel] PEP draft to fix Python function classes

2018-04-10 Thread Jeroen Demeyer
Hello Erik, First of all, some updates. There is an actual PEP now: https://www.python.org/dev/peps/pep-0575/ I already started on an implementation: https://github.com/jdemeyer/cpython/tree/pep575 On 2018-04-09 19:03, Erik Bray wrote: The one thing I keep questioning is whether it makes sen

Re: [sage-devel] PEP draft to fix Python function classes

2018-04-09 Thread Erik Bray
Hi Jeroen, Not posting on python-ideas for now since this is a more 1-on-1 message and I don't want to add to the noise there. I've read your PEP a few times now, and some of the discussion on Python-ideas, and I think it all pretty much makes sense to me. The one thing I keep questioning is wh

[sage-devel] PEP draft to fix Python function classes

2018-03-31 Thread Jeroen Demeyer
I have drafted a Python Enhancement Proposal (PEP) to unify built-in and Python functions: https://github.com/jdemeyer/PEP-functions This is just a draft for now, it has not officially been submitted (so there is no PEP number yet). Cython could benefit from this because Cython functions woul