[issue22995] Restrict default pickleability

2016-01-06 Thread Scott Kitterman
Changes by Scott Kitterman : -- nosy: +kitterma ___ Python tracker <http://bugs.python.org/issue22995> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11492] email.header.Header doesn't fold headers

2011-04-06 Thread Scott Kitterman
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

[issue11492] email.header.Header doesn't fold headers

2011-03-14 Thread Scott Kitterman
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.

[issue11414] Add import fix for email.Message

2011-03-06 Thread Scott Kitterman
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

[issue11414] Add import fix for email.Message

2011-03-06 Thread Scott Kitterman
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

[issue7711] csv error name incorrect

2010-01-15 Thread Scott Kitterman
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