Changes by Scott Kitterman :
--
nosy: +kitterma
___
Python tracker
<http://bugs.python.org/issue22995>
___
___
Python-bugs-list mailing list
Unsubscribe:
Scott Kitterman added the comment:
Not so fast ... I may have done this wrong, but I get:
print(Header(hdrin,maxlinelen=78))
Received: from mailout00.controlledmail.com (mailout00.controlledmail.com
[72.81.252.19]) by mailwash7.pair.com (Postfix) with ESMTP id 16BB5BAD5 for
; Sun, 13 Mar
New submission from Scott Kitterman :
Header folding is very different (non-existent as far as I've found so far) in
Python3. Here's a short example:
#!/usr/bin/python
# -*- coding: ISO-8859-1
from email.header import Header
hdrin = 'Received: from mailout00.controlledmail.
Scott Kitterman added the comment:
Agreed, but email.Message was never marked deprecated so there's likely old
code out there that's never been updated (which is how I ran into this). This
would be, I think, a very low risk transformatio
New submission from Scott Kitterman :
email.Message was dropped in python3.
from email.Message import Message
now fails. Changing email.Message to email.message seems to be all that's
needed.
--
components: 2to3 (2.x to 3.0 conversion tool)
messages: 130179
nosy: kitterma
pri
New submission from Scott Kitterman :
Using the csv module I encountered an ASCII NUL in a file and got this error:
"_csv.Error: line contains NULL byte"
According to the documentation (
http://docs.python.org/library/csv.html#module-contents ) it should be
csv.Error:. Attempti