> A rather big caveat though: one can easily input all the usual math > glyphs (mathbb, mathfrak, ...) of a character. However they all are > considered as equal by Python itself: > > sage: \mbfN<tab> > sage: 𝐍 > <function numerical_approx at 0x7f712339f6a8> > sage: N > <function numerical_approx at 0x7f712339f6a8>
For the curious: Python uses the so-called NFKC normalization for its identifiers: https://docs.python.org/3.3/reference/lexical_analysis.html#identifiers https://en.wikipedia.org/wiki/Unicode_equivalence sage: unicodedata.normalize('NFKC', '𝐍') 'N' Cheers, Nicolas -- Nicolas M. Thiéry "Isil" <nthi...@users.sf.net> http://Nicolas.Thiery.name/ -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/20200223213800.GN3338%40mistral.