some LaTeX variable names point to same content/have same identity
See original GitHub issueWith the LaTeX like replacement in the ipython console it is possible to use greek letters as variable names as well. However, in contrast to e.g. julia
, python/ipython maps \varphi[tab]
and \phi[tab]
to the same data.
Python:
φ = 12
ϕ = 2
print(φ) # returns 2
print(ϕ) # returns 2
e.g. Julia:
φ = 12
ϕ = 2
println(φ) # returns 12
println(ϕ) # returns 2
(Please be aware that depending on your font, \varphi and \phi, might look very similar)
Tested with:
Python 3.6.5
IPython 6.4.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top Results From Across the Web
tug.ctan.org/systems/doc/pdftex/NEWS
The new primitives below support more granular output tweaks with the same intent. - if the environment variable SOURCE_DATE_EPOCH_TEX_PRIMITIVES is set to ...
Read more >smc-public/sage_server.py at master - GitHub
function sage_server.uuidsha1). Any two files with the same content have the. same Sha1 hash. """ filename = unicode8(filename).
Read more >A User's Guide to Proper Names
1 Outlining the Field and. Introducing Some of the Players. 9. 1.1 What Should a Theory of Reference of Proper Names. Do For...
Read more >4.6 Text-level semantics - HTML 5
The DOM attributes href , ping , target , rel , media , hreflang , and type , must reflect the respective content...
Read more >Gnuplot In Action - FSU Hadronic Physics
The plot command requires the name of the data file as argument in quotes. The rest ... The same weekend when 2,000 runners...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I reported the bug on the python issue tracker. It has the ID:
issue38612
. https://bugs.python.org/issue38612I didn’t believe it, but I can confirm on my system using spyder;: