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


Groups > comp.lang.python > #94561

Re: Gmail eats Python

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'great.': 0.07; 'mode:': 0.07; 'cc:addr:python-list': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'worse': 0.09; 'python': 0.10; 'python.': 0.11; 'def': 0.13; "'this": 0.16; '>on': 0.16; 'behaviour.': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'marker': 0.16; 'message-id:@fido.openend.se': 0.16; 'phone)': 0.16; 'quoted': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'sebastian': 0.16; 'test():': 0.16; 'wrote:': 0.16; 'laura': 0.18; 'try:': 0.18; '>>>': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'pass': 0.22; 'am,': 0.23; 'sat,': 0.23; 'cc:addr:gmail.com': 0.24; 'plain': 0.24; 'header:In-Reply-To:1': 0.24; '-0500,': 0.29; "people's": 0.29; 'quoting': 0.29; 'received:se': 0.29; 'thinks': 0.29; 'whitespace': 0.29; 'cc:no real name:2**1': 0.29; 'that.': 0.30; 'up.': 0.32; 'says': 0.32; 'except': 0.34; 'worked': 0.34; 'text': 0.35; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'front': 0.38; 'thank': 0.38; 'some': 0.40; 'him': 0.60; 'skip:u 10': 0.61; 'header:Message-Id:1': 0.61; 'show': 0.62; 'back': 0.62; 'world': 0.64; 'skip:a 40': 0.64; 'skip:w 40': 0.66; 'results': 0.66; 'reply': 0.68; 'teach': 0.70; 'jul': 0.72; 'saw': 0.77; 'received:89': 0.80; 'subject:Gmail': 0.91; 'ware': 0.91
To Zachary Ware <zachary.ware+pylist@gmail.com>
cc python-list@python.org, spluque@gmail.com
From Laura Creighton <lac@openend.se>
Subject Re: Gmail eats Python
In-Reply-To Message from Zachary Ware <zachary.ware+pylist@gmail.com> of "Sat, 25 Jul 2015 11:51:49 -0500." <CAKJDb-Nh6YKM5t72O2fe3Y9cKpBSg5N=s9kEtAsn7q+JHUer6w@mail.gmail.com>
References <201507251634.t6PGYUvo028820@fido.openend.se><CAKJDb-Nh6YKM5t72O2fe3Y9cKpBSg5N=s9kEtAsn7q+JHUer6w@mail.gmail.com>
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <29636.1437843855.1@fido>
Date Sat, 25 Jul 2015 19:04:15 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Sat, 25 Jul 2015 19:04:18 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.985.1437843863.3674.python-list@python.org> (permalink)
Lines 44
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1437843863 news.xs4all.nl 2962 [2001:888:2000:d::a6]:38272
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:94561

Show key headers only | View raw


In a message of Sat, 25 Jul 2015 11:51:49 -0500, Zachary Ware writes:
>On Jul 25, 2015 11:35 AM, "Laura Creighton" <lac@openend.se> wrote:
>>
>> Gmail eats Python.
>>
>> We just saw this mail back from Sebastian Luque which says in part:
>>
>> >>> try: all_your_code_which_is_happy_with_non_scalars except
>> >>> WhateverErrorPythonGivesYouWhenYouTryThisWithScalars:
>> >>> whatever_you_want_to_do_when_this_happens
>>
>> Ow!  Gmail is understanding the >>> I stuck in as 'this is from the
>> python console as a quoting marker and thinks it can reflow that.
>>
>> I think that splunqe must already have gmail set for plain text or
>> else even worse mangling must show up.
>>
>> How do you teach gmail not to reflow what it thinks of as
>> 'other people's quoted text'?
>
>Add same whitespace in front of the >'s, in plain text mode:
>
>   >>> def test(): pass
>   ...
>   >>> print('Hi world')
>   Hi world
>   >>>
>
>(Hopefully that will work from my phone)
>
>--
>Zach
>(On a phone)


Worked great.

So it was my fault by sending him a reply with >>> to the far left.
I need to indent my text by some whitespace after I paste
in the results from a Python console?

Thank you Zach, I had no idea.  I will change my behaviour.

Laura

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


Thread

Re: Gmail eats Python Laura Creighton <lac@openend.se> - 2015-07-25 19:04 +0200

csiph-web