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


Groups > comp.lang.python > #54780

Re: Newline interpretation issue with MIMEApplication with binary data, Python 3.3.2

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.041
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'subject:Python': 0.06; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'least.': 0.16; 'subject: \n ': 0.16; 'subject:issue': 0.16; 'wrote:': 0.18; 'app': 0.19; 'thu,': 0.19; 'skip:_ 20': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'sep': 0.31; 'subject:skip:i 10': 0.31; 'subject:with': 0.35; 'test': 0.35; 'received:google.com': 0.35; 'subject:data': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; '26,': 0.68; 'subject:skip:M 10': 0.84; '2013': 0.98
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 :content-type; bh=imMKpksC+Zqt1Is2PUmDjyVfFLwGm8lx6xAJDIpHNPE=; b=OEvvf4Phqi+AQtg0wAA8SjpajHLCh0patJn4z1AxN9PhOPmc0VzY8hPkuc3Q21uNQI LeR74Tn+VSWS94E51/VpROs4tDmfSsHU8b22OOpUZNkct5FbB6LiLmOnUFItEQL8LK5r x1AmduRwpEvpZB3mX/c1oA8ds12MoNpMMH7zRuybS3rWC47YfguO//FEK/Z6AuRxtHyc payLVmOIbC/CqKaV+2+cdB4comKclJGf3qCFpih6VD91oWMKgVDer872mnTpXdHY/ZTB 11Mum+AOlJfkNcKRsnDBvSaHYYBS3JQ4Ut8hkAru9MrqcsdhgJgS+N6wBRRFFi0UDpT0 lp4Q==
MIME-Version 1.0
X-Received by 10.221.64.17 with SMTP id xg17mr36447714vcb.5.1380168691823; Wed, 25 Sep 2013 21:11:31 -0700 (PDT)
In-Reply-To <14063249-6159-48ff-bfe2-8e8d6e3cd7a4@googlegroups.com>
References <14063249-6159-48ff-bfe2-8e8d6e3cd7a4@googlegroups.com>
Date Thu, 26 Sep 2013 14:11:31 +1000
Subject Re: Newline interpretation issue with MIMEApplication with binary data, Python 3.3.2
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.335.1380168701.18130.python-list@python.org> (permalink)
Lines 7
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1380168701 news.xs4all.nl 15883 [2001:888:2000:d::a6]:45117
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:54780

Show key headers only | View raw


On Thu, Sep 26, 2013 at 2:38 AM,  <nilsbunger@gmail.com> wrote:
> app = MIMEApplication(b'Q\x0dQ', _encoder=encode_noop)

What is MIMEApplication? It's not a builtin, so your test case is
missing an import, at least. Is this email.mime.MIMEApplication?

ChrisA

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


Thread

Newline interpretation issue with MIMEApplication with binary data, Python 3.3.2 nilsbunger@gmail.com - 2013-09-25 09:38 -0700
  Re: Newline interpretation issue with MIMEApplication with binary data, Python 3.3.2 Chris Angelico <rosuav@gmail.com> - 2013-09-26 14:11 +1000
    Re: Newline interpretation issue with MIMEApplication with binary data, Python 3.3.2 Nils Bunger <nilsbunger@gmail.com> - 2013-09-25 21:23 -0700
      Re: Newline interpretation issue with MIMEApplication with binary data, Python 3.3.2 Chris Angelico <rosuav@gmail.com> - 2013-09-26 14:32 +1000
        Re: Newline interpretation issue with MIMEApplication with binary data, Python 3.3.2 Neil Cerutti <neilc@norwich.edu> - 2013-09-26 13:41 +0000
          Re: Newline interpretation issue with MIMEApplication with binary data, Python 3.3.2 Nils Bunger <nilsbunger@gmail.com> - 2013-09-26 08:56 -0700
            Re: Newline interpretation issue with MIMEApplication with binary data, Python 3.3.2 Piet van Oostrum <piet@vanoostrum.org> - 2013-09-26 14:44 -0400
  Re: Newline interpretation issue with MIMEApplication with binary data, Python 3.3.2 Nils Bunger <nilsbunger@gmail.com> - 2013-09-26 09:35 -0700

csiph-web