On Jul 25, 8:00 pm, Ben Finney <[EMAIL PROTECTED]> wrote: > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > > On Jul 24, 6:08 pm, Steven D'Aprano > > <[EMAIL PROTECTED]> wrote: > > > Python already does: > > > "hello-" "world" => "hello-world" > > > > Propose: > > > 123 456 789 => 123456789 > > > 123.456 789 => 123.456789 > > > So, spaces will no longer be delimiters? > > I don't see how you get that conclusion from Steven's proposal.
IDLE 1.2c1 >>> s = '123 456' >>> s.split() ['123', '456'] The only way to get '123 456' would be to treat a space as a non-delimiter. But what if those actually WERE two different numbers? > If the > latter implied that "spaces will no longer be delimiters", then surely > the former must also imply that. > > The former already exists, spaces are still delimiters when syntax > allows, so your conclusion is baseless. > > -- > \ "I got food poisoning today. I don't know when I'll use it." | > `\ -- Steven Wright | > _o__) | > Ben Finney -- http://mail.python.org/mailman/listinfo/python-list