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 would be considered proper functions by Python. For Sage, we could finally get rid of all the inspect hacks. This would in particular affect sage.misc.sageinspect and docbuilding. Needless to say, this is a long-term plan: if all goes well, the PEP would be accepted for Python 3.8.

For discussion of the PEP itself, please post on the python-ideas thread
https://mail.python.org/pipermail/python-ideas/2018-March/049563.html


Happy Easter,
Jeroen.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to