[issue20098] email policy needs a mangle_from setting

2015-05-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset df81f9b67736 by R David Murray in branch 'default':
#20098: add mangle_from_ policy option.
https://hg.python.org/cpython/rev/df81f9b67736

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2015-05-17 Thread R. David Murray

R. David Murray added the comment:

Thanks, Milan.

--
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-04-24 Thread Milan Oberkirch

Milan Oberkirch added the comment:

Updated the last patch according to the review comments at 
https://bugs.python.org/review/20098/.

--
Added file: http://bugs.python.org/file35020/mangle_from_20140424.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-04-24 Thread Milan Oberkirch

Changes by Milan Oberkirch milan...@oberkirch.org:


Added file: http://bugs.python.org/file35021/mangle_from_20140424.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-04-24 Thread Milan Oberkirch

Changes by Milan Oberkirch milan...@oberkirch.org:


Removed file: http://bugs.python.org/file35020/mangle_from_20140424.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-03-28 Thread Steve Holden

Steve Holden added the comment:

This is an easy issue?

--
nosy: +holdenweb

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-03-16 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
stage: needs patch - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-03-09 Thread Milan Oberkirch

Milan Oberkirch added the comment:

Added documentation for mangle_from. since the name mangle_from_ is not 
supported by the markup, changed it to mangle_from everywhere, which looks 
better anyway (I understand why it was the other way so). If it was a bad idea, 
I can undo it but am unable to do the doc.

--
Added file: http://bugs.python.org/file34320/mangle_from_with_doc.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-03-09 Thread Milan Oberkirch

Milan Oberkirch added the comment:

Rollback to mangle_from_, sorry for the noise.

--
Added file: http://bugs.python.org/file34321/mangle_from_with_doc.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-03-09 Thread Milan Oberkirch

Changes by Milan Oberkirch milan...@oberkirch.org:


Removed file: http://bugs.python.org/file34320/mangle_from_with_doc.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-03-09 Thread Milan Oberkirch

Changes by Milan Oberkirch milan...@oberkirch.org:


Added file: http://bugs.python.org/file34322/mangle_from_with_doc.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-03-09 Thread Milan Oberkirch

Changes by Milan Oberkirch milan...@oberkirch.org:


Removed file: http://bugs.python.org/file34321/mangle_from_with_doc.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-03-03 Thread Milan Oberkirch

Milan Oberkirch added the comment:

(@r.david.murray) I just implemented what you suggested:
- Policy has a mangle_from_ property, overridden in EMailPolicy
- Generator and DecodedGenerator default to policy.mangle_from_ or True if 
policy is None.

Would be glad if it helps :)

--
nosy: +zvyn
Added file: http://bugs.python.org/file34275/mangle_from.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-03-03 Thread Milan Oberkirch

Changes by Milan Oberkirch milan...@oberkirch.org:


Removed file: http://bugs.python.org/file34275/mangle_from.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-03-03 Thread Milan Oberkirch

Milan Oberkirch added the comment:

Updates patch to include necessary changes to test_policy.py.

--
Added file: http://bugs.python.org/file34277/mangle_from.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-01-01 Thread Gennadiy Zlobin

Gennadiy Zlobin added the comment:

I created the patch, please review it.

--
keywords: +patch
nosy: +gennad
Added file: http://bugs.python.org/file33293/20098.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2014-01-01 Thread R. David Murray

R. David Murray added the comment:

Sorry, my message wasn't clear.  The current default needs to remain the same.  
What needs to be added is email.policy.Policy.mange_from, which should be True 
in the compat32 policy and False in EmailPolicy. Then it needs to be hooked up 
the Generator, so that an explicit specificaion in the __init__ overrides the 
policy, but specifying one of EmailPolicy dervived policies will override the 
default value of the __init__ argument if the argument is not speicifed 
explicitly in the Generator constructor call.  (Backward compatibility is a 
pain.)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20098] email policy needs a mangle_from setting

2013-12-30 Thread R. David Murray

New submission from R. David Murray:

I missed this.  It still defaults to True in Generator.  It should default to 
False in the new policies (but True in compat32).

--
components: email
keywords: easy
messages: 207116
nosy: barry, r.david.murray
priority: normal
severity: normal
stage: needs patch
status: open
title: email policy needs a mangle_from setting
type: enhancement
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20098
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com