Message 278898 - Python tracker (original) (raw)

Steven D'Aprano:

  • Display large number of loops as power of 10 for readability, ex: "10^6" instead of "1000000". Also accept "10^6" syntax for the --num parameter.

Shouldn't we use 10**6 or 1e6 rather than bitwise XOR? :-)

Hum, with "106" syntax, I see a risk of typo: "10*6" instead of "106".

I don't know if the x^y syntax is common or not, but I like it. LaTeX uses it for example.