From D

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Tue Jul 24 14:09:00 EDT 2007


Stargaming wrote:
> On Tue, 24 Jul 2007 03:19:53 -0700, bearophileHUGS wrote:
 
>> While in a syntax like:
>> for i in xrange(1_000_000):
>> my eyes help me group them at once.
> 
> Sounds like a good thing to be but the arbitrary positioning
> doesnt make any sense. 

Checking underscore positions would only add complexity. Why not
just ignore them, no matter where they are?

> Additionally, I'd suggest 10**n in such cases (eg. 10**6).

This fails if you happen to have more than only zeros at the right
side.
  
Regards,


Björn

-- 
BOFH excuse #97:

Small animal kamikaze attack on power supplies




More information about the Python-list mailing list