[issue15570] email.header.decode_header parses differently

2012-08-22 Thread R. David Murray
R. David Murray added the comment: Absent an argument in favor of reversion, I'm closing this. -- stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue15570] email.header.decode_header parses differently

2012-08-07 Thread R. David Murray
R. David Murray added the comment: This is an intentional change (see issue 1079). It is entirely possible that this bug fix should be reverted, however, because of backward compatibility concerns. I'm open to that argument, but I'd prefer to keep the fixed behavior, since the unfixed behavi

[issue15570] email.header.decode_header parses differently

2012-08-06 Thread Dmitry Dvoinikov
New submission from Dmitry Dvoinikov: The following script --- import email.header print(email.header.decode_header("foo =?windows-1251?Q?bar?=")) --- produces [(b'foo', None), (b'bar', 'windows-1251')] in Python 3.2 but [(b'foo ', None), (b'bar', 'windows-1251')] in Python 3.3.0b1 -