[issue12111] email's use of __setitem__ is highly counterintuitive

2011-05-19 Thread Toni Mueller
New submission from Toni Mueller : email's usage of __setitem__ is highly counterintuitive to the point of being dangerous. The documented behaviour is (quote): __setitem__(name, val) Add a header to the message with field name name and value val. The field is appended to the end o

[issue11211] gzip.open() fails for gzipped file

2011-02-14 Thread Toni Mueller
New submission from Toni Mueller : I have files that I would like to read with Python, but can't: $ python jmlreader.py woerter-allg.jml Traceback (most recent call last): File "jmlreader.py", line 14, in readFile(sys.argv[1]) File "jmlreader.py", line 10, in r