id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,merged,author,reviewer,upstream,work_issues,branch,commit,dependencies,stopgaps
28966,Provide unicode aliases for some globals in Python 3,embray,,"This is something that's been discussed before but I don't think there's a ticket for it.
Python 3 allows unicode word-constituent characters to be used in identifiers, https://docs.python.org/3/reference/lexical_analysis.html#identifiers, subject to NFKC normalization. So we can easily provide unicode aliases for some common functions and constants named and denoted by Greek letters.
In Python 3 / IPython it is also possible to do tab-completion for many unicode characters: https://ipython.readthedocs.io/en/stable/api/generated/IPython.core.completer.html#latex-and-unicode-completion
(This list can easily be expanded by modifying the dict in `IPython.completer.latex_symbols`.)
{{{
sage: π
pi
sage: _.n()
3.14159265358979
sage: sin(π)
0
sage: σ
Function that adds up (k-th powers of) the divisors of n
sage: Γ
sage: ψ
sage: ζ
zeta
sage: ζ(-1)
-1/12
}}}
",enhancement,closed,major,sage-9.2,user interface,fixed,,gh-mwageringel tscrim nthiery,,Matthias Koeppe,Markus Wageringel,N/A,,62de65d207690234003087e9ef39ef4a46e53ba9,,#30106,