Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'read.': 0.03; 'messages.': 0.05; 'tree': 0.05; 'defaults': 0.07; 'see.': 0.07; 'steve': 0.09; 'agree,': 0.09; 'answering': 0.09; 'default.': 0.09; 'formatting': 0.09; 'part,': 0.09; 'prevents': 0.09; 'cc:addr:python-list': 0.11; '"file': 0.16; '"your': 0.16; '>>': 0.16; '"your': 0.16; '23,': 0.16; '>that': 0.16; '>the': 0.16; 'better:': 0.16; 'caused.': 0.16; 'crashed': 0.16; 'dump': 0.16; 'hayes': 0.16; 'link,': 0.16; 'minus': 0.16; 'mode,': 0.16; 'pressing': 0.16; "someone's": 0.16; 'tags.': 0.16; 'essential': 0.16; 'wrote:': 0.18; 'reset': 0.22; 'saying': 0.22; 'cc:addr:python.org': 0.22; '(such': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '>': 0.26; 'web.': 0.26; 'header:In- Reply-To:1': 0.27; 'tried': 0.27; 'url:za': 0.29; '(like': 0.30; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'page.': 0.31; 'usually': 0.31; 'clicked': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'subject:what': 0.31; 'supposed': 0.32; 'option': 0.32; 'another': 0.32; 'text': 0.33; 'says': 0.33; 'url:python': 0.33; 'blog:': 0.33; 'cases': 0.33; 'link.': 0.33; 'plain': 0.33; 'raw': 0.33; 'could': 0.34; 'message.': 0.35; 'subject:with': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'mass': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'should': 0.36; 'skip:& 10': 0.38; 'thank': 0.38; 'version,': 0.38; 'pm,': 0.38; 'delete': 0.39; 'url:mail': 0.40; 'even': 0.60; 'skip:u 10': 0.60; 'read': 0.60; 'most': 0.60; 'forum': 0.61; 'full': 0.61; 'today,': 0.61; 'simple': 0.61; 'address': 0.63; 'great': 0.65; 'reply': 0.66; 'frequently': 0.68; 'mail,': 0.68; 'rendering': 0.68; 'led': 0.72; 'url:htm': 0.73; 'family': 0.73; 'url:wordpress': 0.78; 'to:addr:yahoo.com': 0.81; 'complex,': 0.84; 'fonts': 0.84; 'horse': 0.84; 'idiots': 0.84; 'senders': 0.84; 'sending,': 0.84; 'angel': 0.91; 'africa': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UU0Zmoe0+NHrnA31vanis5icGMM6VJQZmLULSECyrUs=; b=FM4beJSiYHE+ZgVe3VrrU8SZiCge4edjukcBrVkYTh5Srdnb6DGTVzdIqfBBng5MkI dx5E+/IR6csLf/AwXSuYRFleVvf2kCpkUq/vPj3yTue5kK3yPD2hM4NMtcg2M0zCQhJm cLL2gcnSL2uAeJ62O7L5hm9w+7rSdgmT875UXSMSn0vkN8v3LG8v4yIGbsK5AWXkwKd8 ygUGGTexDEqPrYNAa1zwu0yePnR4V4ACxdLfKuB5bu4PbRfpB2MVP1FeXBkH8zVfAK89 0FrOHszWuurNqcJcdXgBgoWnIks4dkG8XA9N/PjT4lAJp4RKT8xs9aHP26ie7TQEER7W sI7Q== MIME-Version: 1.0 X-Received: by 10.43.154.138 with SMTP id le10mr21152463icc.50.1419339596577; Tue, 23 Dec 2014 04:59:56 -0800 (PST) In-Reply-To: References: <9f54b6e1-598a-44ea-953f-0de17d9809c2@googlegroups.com> <5498d492$0$12978$c3e8da3$5496439d@news.astraweb.com> Date: Tue, 23 Dec 2014 18:29:56 +0530 Subject: Re: what is wrong with d.clear()? From: shawool To: hayesstw@yahoo.com Content-Type: multipart/alternative; boundary=001a11c2d3da786329050ae1c034 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 186 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1419339608 news.xs4all.nl 2884 [2001:888:2000:d::a6]:46227 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82837 --001a11c2d3da786329050ae1c034 Content-Type: text/plain; charset=UTF-8 Thank you for answering my query. Fonts and colors are reset to defaults now. Sorry for the inconvenience caused. Regards, Shawool On Tue, Dec 23, 2014 at 3:55 PM, Steve Hayes wrote: > On Tue, 23 Dec 2014 13:33:53 +1100, Steven D'Aprano > wrote: > > >Dave Angel wrote: > > > >> Or even better: Don't use html email for forum messages. It frequently > >> messes up the colors, the font, the formatting (like indentation), or > >> even prevents some people from even seeing and/or replying to the > >> message. Put the email program in text mode, and just send what you > >> want people to see. > > > > > >I agree, but alas the horse has bolted and the idiots have taken over. > > > >We cannot stop the great mass of people sending HTML mail, but there is no > >reason why we have to *read* HTML email. Even today, most mail clients > will > >send a plain text part that contains the same content as the HTML part, > and > >any decent mail client can be set to prefer the plain text part in > >preference to rendering the HTML. > > > >For those few cases where there is no plain text part[1], the better mail > >clients (such as mutt) will include an option to dump the raw HTML to > plain > >text, minus all the tags. > > > >Last but not least, for the *vanishingly small* number of cases that has > no > >plain text part, and the formatting of the text dump is unreadable, or > >where the formatting of the HTML is actually essential to understanding > the > >post, then you have a choice of pressing Delete on the message or > rendering > >the HTML. But rendering HTML should never be the default. > > I had a message, discussed in another NG, inviting me to look at someone's > family tree on the web. It had no plain text version, and when I clicked on > the relevant link, it crashed my mail reader. > > When I right-clicked on the link and tried to copy the URL to paste ibnto > the > address line of my web browser, it led to a "file not found" page. > > The HTML was enormously complex, and all they were supposed to be sending > was > a simple link. > > >[1] Or worse, one of those shitty messages that include a plain text part > >that says "Your mail program cannot read this email. Please upgrade to a > >better mail program." > > I usually reply to those saying "So why did you send it to me?" > > I suspect that in most cases the senders do not know that that is what > their > mail program is sending, and do it to let them know that their mesdsage > could > not be read. > > > -- > Steve Hayes from Tshwane, South Africa > Web: http://www.khanya.org.za/stevesig.htm > Blog: http://khanya.wordpress.com > E-mail - see web page, or parse: shayes at dunelm full stop org full stop > uk > -- > https://mail.python.org/mailman/listinfo/python-list > --001a11c2d3da786329050ae1c034 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you for answering my query.

Fonts and colors are reset to defaults now. Sorry for the inconvenience= caused.

Regards,
Shawool

On Tue, Dec 23, 2014 at 3:55 PM, St= eve Hayes <hayesstw@telkomsa.net> wrote:
On Tue, 23 Dec 2014 13:33:53 +1100, Ste= ven D'Aprano
<steve+comp.la= ng.python@pearwood.info> wrote:

>Dave Angel wrote:
>
>> Or even better: =C2=A0Don't use html email for forum messages.= =C2=A0 It frequently
>> messes up the colors, the font, the formatting (like indentation),= or
>> even prevents some people from even seeing and/or replying to the<= br> >> message.=C2=A0 Put the email program in text mode, and just send w= hat you
>> want people to see.
>
>
>I agree, but alas the horse has bolted and the idiots have taken over.<= br> >
>We cannot stop the great mass of people sending HTML mail, but there is= no
>reason why we have to *read* HTML email. Even today, most mail clients = will
>send a plain text part that contains the same content as the HTML part,= and
>any decent mail client can be set to prefer the plain text part in
>preference to rendering the HTML.
>
>For those few cases where there is no plain text part[1], the better ma= il
>clients (such as mutt) will include an option to dump the raw HTML to p= lain
>text, minus all the tags.
>
>Last but not least, for the *vanishingly small* number of cases that ha= s no
>plain text part, and the formatting of the text dump is unreadable, or<= br> >where the formatting of the HTML is actually essential to understanding= the
>post, then you have a choice of pressing Delete on the message or rende= ring
>the HTML. But rendering HTML should never be the default.

I had a message, discussed in another NG, inviting me to look at som= eone's
family tree on the web. It had no plain text version, and when I clicked on=
the relevant link, it crashed my mail reader.

When I right-clicked on the link and tried to copy the URL to paste ibnto t= he
address line of my web browser, it led to a "file not found" page= .

The HTML was enormously complex, and all they were supposed to be sending w= as
a simple link.

>[1] Or worse, one of those shitty messages that include a plain text pa= rt
>that says "Your mail program cannot read this email. Please upgrad= e to a
>better mail program."

I usually reply to those saying "So why did you send it to me?&= quot;

I suspect that in most cases the senders do not know that that is what thei= r
mail program is sending, and do it to let them know that their mesdsage cou= ld
not be read.


--
Steve Hayes from Tshwane, South Africa
Web:=C2=A0 http://www.khanya.org.za/stevesig.htm
Blog: http://khan= ya.wordpress.com
E-mail - see web page, or parse: shayes at dunelm full stop org full stop u= k
--
https://mail.python.org/mailman/listinfo/python-list

--001a11c2d3da786329050ae1c034--