[Python-3000] Fwd: Re: Fwd: Re: Fwd: Re: Octal

Nick Coghlan ncoghlan at gmail.com
Fri Mar 16 09:32:22 CET 2007


Georg Brandl wrote:
> Greg Ewing schrieb:
>> More serious is that if we want to be consistent with
>> 0x and allow upper case, we get 0O, which looks quite
>> confusing in just about any font.
> 
> Hm, I don't think there are too many people who write 0XABC today.
> As discussed earlier, you lose the "short" x.

There aren't many people that write UR"WTF?" either, but odd 
capitalisation is still legal syntax that can't be ignored completely 
when making changes.

Compare:

   0t755 0T755
   0o755 0O755
   0c755 0C755

0c755 is looking like the best candidate IMO (best looking lowercase, 
least bad looking uppercase)

There's also a nice coincidental pattern that emerges from that option:
   0b for Binary
   0c for oCtal
   0x for heXadecimal

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-3000 mailing list