Gmail eats Python

Zachary Ware zachary.ware+pylist at gmail.com
Sat Jul 25 12:51:49 EDT 2015


On Jul 25, 2015 11:35 AM, "Laura Creighton" <lac at 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150725/a08416f6/attachment.html>


More information about the Python-list mailing list