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

2007-03-17 Thread Georg Brandl
Patrick Maupin schrieb: > On 3/16/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: >> Cool. Then I'll support your support for 0o, and only using lowercase >> 0b, 0o, 0x. Maybe that'll settle the discussion about this bikeshed's >> color. I'm also in favor of only using lowercase j for complex and >

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

2007-03-17 Thread Chris Monson
On 3/16/07, CM <[EMAIL PROTECTED]> wrote: On 3/15/07, Georg Brandl <[EMAIL PROTECTED]> wrote: > > Thomas Wouters schrieb: > > > > > > On 3/15/07, *Raymond Hettinger* <[EMAIL PROTECTED] >> > > wrote: > > > > My worry focuses on new-timers and SyntaxErrors. The wo

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

2007-03-17 Thread Guido van Rossum
On 3/16/07, Patrick Maupin <[EMAIL PROTECTED]> wrote: > Hexadecimal numbers traditionally support upper- and lower-case > display, chosen by the case of the 'x' character. Python supports > this both for input and display, and probably needs to continue to > support the option of upper or lowercas

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

2007-03-17 Thread Patrick Maupin
On 3/17/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > I'll take your word that 0X is popular for data files out there. I > think I would support that in int(s, 0) but not in eval(s) -- IOW, hex > literals in Python source code must start with 0x. After that they can > use ABC or abc or AbC for

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

2007-03-17 Thread Patrick Maupin
On 3/16/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Cool. Then I'll support your support for 0o, and only using lowercase > 0b, 0o, 0x. Maybe that'll settle the discussion about this bikeshed's > color. I'm also in favor of only using lowercase j for complex and > lowercase r for raw strings.

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

2007-03-17 Thread Guido van Rossum
I'd say the same rule -- lowercase only. On 3/17/07, Patrick Maupin <[EMAIL PROTECTED]> wrote: > On 3/16/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > Cool. Then I'll support your support for 0o, and only using lowercase > > 0b, 0o, 0x. Maybe that'll settle the discussion about this bikeshed

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

2007-03-17 Thread Patrick Maupin
On 3/16/07, Chris Monson <[EMAIL PROTECTED]> wrote: > I didn't see anyone stepping forward to write a PEP for this. If one is > needed, I'll volunteer to do it. Actually, ISTM that changing all string literal special characters ("r", "e", "x", "j", etc.) is probably really a different PEP. I've

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

2007-03-17 Thread Baptiste Carvello
Guido van Rossum a écrit : > I'd say the same rule -- lowercase only. > > On 3/17/07, Patrick Maupin <[EMAIL PROTECTED]> wrote: >> What about 'e' for exponentiation? >> > I guess it's already implied, but just for the record: capital E is very popular in data files, so it has to still work with