Gustav HÃ¥llberg wrote: > I tried finding a discussion around adding the possibility to have > optional underscores inside numbers in Python. This is a popular option > available in several "competing" scripting langauges, that I would love > to see in Python. > > Examples: > 1_234_567 > 0xdead_beef > 3.141_592 > > Would appreciate if someone could find a pointer to a previous > discussion on this topic, or add it to a Python-feature-wishlist. > > - Gustav
I'm not sure what the _s are for, but I'm guessing they serve as separators ("." or "," depending on where you're from). I think the _s look ugly to me, besides, underscores look more like spaces than separators. -- http://mail.python.org/mailman/listinfo/python-list