[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-16 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker ___ ___

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-16 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset e9f4d8db5f30a9603fa0c005382bff78aa1ce232 by Mariatta in branch '3.6': [email] bpo-29478: Fix passing max_line_length=None from Compat32 policy (GH-595) (GH-2233) https://github.com/python/cpython/commit/e9f4d8db5f30a9603fa0c005382bff78aa1ce232

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-15 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 820b71464c2c0e8cca1abfb5dfe47fa7f7ffec75 by Mariatta in branch '3.5': [email] bpo-29478: Fix passing max_line_length=None from Compat32 policy (GH-595) (GH-2234) https://github.com/python/cpython/commit/820b71464c2c0e8cca1abfb5dfe47fa7f7ffec75

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-15 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +2279 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-15 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +2278 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-11 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: patch review -> backport needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-11 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset b459f7482612d340b88b62edc024628595ec6337 by Mariatta (mircea-cosbuc) in branch 'master': [email] bpo-29478: Fix passing max_line_length=None from Compat32 policy (GH-595) https://github.com/python/cpython/commit/b459f7482612d340b88b62edc02462859

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-09 Thread R. David Murray
R. David Murray added the comment: Looks like it just needs a NEWS entry. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-09 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2090 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-09 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2091 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-08 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Is the PR ready for merging? Does this need misc/news entry? I can help with the backport. -- nosy: +Mariatta stage: -> patch review ___ Python tracker _

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-03-10 Thread R. David Murray
R. David Murray added the comment: OK. This looks good to me. I haven't figured out the new commit process, though (like how to do misc news and backports), so I'm not going to be the one to merge it, I'm afraid. At least not until I do find time to learn. -- __

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-03-10 Thread Mircea Cosbuc
Mircea Cosbuc added the comment: Just to be sure, I performed the same operations with my changes in place, there's no change in behaviour. I think it's expected since I only modified how the Compat32 policy passes `max_line_length` to the header class. --

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-03-10 Thread R. David Murray
R. David Murray added the comment: So what happens when you do that same operation in 3.5/6 with your change in place? Does the behavior change? (I haven't looked back at the code to see if I think it will :) -- ___ Python tracker

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-03-10 Thread Mircea Cosbuc
Mircea Cosbuc added the comment: Thanks for the prompt feedback. In Python 3.2, the closest equivalent for the illustrated issue I could find is: >>> from email.message import Message >>> from email.generator import Generator >>> from sys import stdout >>> m = Message() >>> m["Field"] = "x" * 1

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-03-10 Thread R. David Murray
R. David Murray added the comment: Thanks for the PR. However, rereading this: since compat32 is providing backward compatibility with the behavior of the python 3.2 email package, we need to check what it would do in this situation before changing the behavior. What we may need instead is a

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-03-10 Thread Mircea Cosbuc
Changes by Mircea Cosbuc : -- pull_requests: +491 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-02-08 Thread R. David Murray
R. David Murray added the comment: That sounds reasonable to me. Clearly there is a missing test :) -- ___ Python tracker ___ ___ Pyt

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-02-08 Thread Martin Panter
New submission from Martin Panter: By default, the email package turns single-line header fields into multi-line ones to try and limit the length of each line. The documentation says that sett