Gmail eats Python

Zachary Ware zachary.ware+pylist at
Sat Jul 25 18:51:49 CEST 2015

On Jul 25, 2015 11:35 AM, "Laura Creighton" <lac at> 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)

(On a phone)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list