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: 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 cc: python-list@python.org, spluque@gmail.com From: Laura Creighton Subject: Re: Gmail eats Python In-Reply-To: Message from Zachary Ware of "Sat, 25 Jul 2015 11:51:49 -0500." References: <201507251634.t6PGYUvo028820@fido.openend.se> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 In a message of Sat, 25 Jul 2015 11:51:49 -0500, Zachary Ware writes: >On Jul 25, 2015 11:35 AM, "Laura Creighton" 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