Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #37529

Re: Any algorithm to preserve whitespaces?

Date 2013-01-23 21:05 -0500
From Dave Angel <d@davea.name>
Subject Re: Any algorithm to preserve whitespaces?
References (1 earlier) <50FAEE23.5030107@lightbird.net> <CAE7MaQb2-qQXuAJ4jK6RB+fOPO0ZjK6_gEuigqP_FOn0=Sv29g@mail.gmail.com> <50FFBCC5.5020506@davea.name> <mailman.900.1358953018.2939.python-list@python.org> <51008538$0$29992$c3e8da3$5496439d@news.astraweb.com>
Newsgroups comp.lang.python
Message-ID <mailman.938.1358993181.2939.python-list@python.org> (permalink)

Show all headers | View raw


On 01/23/2013 07:49 PM, Steven D'Aprano wrote:
> Santosh Kumar wrote:
>
>> Yes, Peter got it right.
>
> Peter? Which Peter? What's "it" that he got right?
>
> You have deleted all context from your post, so I have no idea what you are
> talking about.

Right.

> And whatever program you are using to post is stripping out
> threading information, so I can't tell what post you are replying to.

You're not entirely right here.  Santosh's message threads correctly to 
mine when I look with Thunderbird. And mine is parallel to one by Peter 
Otten, who suggested rstrip() to get rid of the extra newline.  About 
10% of your posts show up as top-level (starting new threads), even 
though I know you're careful.  So there seem to be more than one 
threading protocol, and the multiple protocols are fighting each other. 
  I'd love to see a spec that I could use to (manually?) check whether 
the threads are right or not.

the relevant timestamps (at least as seen from USA EST zone) are
     Santosh at 4:20 am
        Peter Otten at 4:46 am
        DaveA  at 5:34 am
           Santosh at 9:56 am
     Steven D'Aprano at 7:49 pm

But your message was a reply to Santosh's 9:56 am message.

(I'm deleting the rest, because I'm not responding to the commandline 
parsing question)




-- 
DaveA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Any algorithm to preserve whitespaces? Santosh Kumar <sntshkmr60@gmail.com> - 2013-01-23 20:26 +0530
  Re: Any algorithm to preserve whitespaces? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-24 11:49 +1100
    Re: Any algorithm to preserve whitespaces? Dave Angel <d@davea.name> - 2013-01-23 21:05 -0500

csiph-web