Skip to content

Add support for using a default CTE of '8bit' to MIMEText #56762

Closed

Description

@bitdancer
BPO 12553
Nosy @warsaw, @bitdancer
Dependencies
  • bpo-12586: Provisional new email API: new policy implementing custom header objects
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2016-09-08.20:31:46.343>
    created_at = <Date 2011-07-13.16:47:25.478>
    labels = ['type-feature', 'expert-email']
    title = "Add support for using a default CTE of '8bit' to MIMEText"
    updated_at = <Date 2016-09-08.20:31:46.339>
    user = 'https://github.com/bitdancer'

    bugs.python.org fields:

    activity = <Date 2016-09-08.20:31:46.339>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-09-08.20:31:46.343>
    closer = 'r.david.murray'
    components = ['email']
    creation = <Date 2011-07-13.16:47:25.478>
    creator = 'r.david.murray'
    dependencies = ['12586']
    files = []
    hgrepos = []
    issue_num = 12553
    keywords = []
    message_count = 3.0
    messages = ['140287', '161513', '275142']
    nosy_count = 3.0
    nosy_names = ['barry', 'r.david.murray', 'Blame-me.Jaillie']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue12553'
    versions = ['Python 3.5', 'Python 3.6']

    Activity

    1. bitdancer commented on Jul 13, 2011

      @bitdancer
      MemberAuthor

      Most MTA/MTUs these days can handle 8bit just fine. I think that the CTE for MIMEText parts should default to 8bit unless policy.must_be_7bit is set. This will require adding support for this CTE to Charset. The Policy docs imply that this is already the case, but it is not true for MIMEText objects.

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancement
      on Jul 13, 2011
    3. self-assigned this
      on Mar 23, 2012
    4. bitdancer commented on May 24, 2012

      @bitdancer
      MemberAuthor

      I've changed my approach. The policy option is now 'cte_type', but moreover the default policy is now a backwards compatibility policy to which this issue doesn't apply. The new provisional policy should get this support, but that's a somewhat bigger project and probably won't make it in to 3.3.

    5. changed the title [-]email should default to 8bit CTE unless policy.must_be_7bit is set[/-] [+]Add support for using a default CTE of '8bit' to MIMEText[/+] on May 24, 2012
    6. removed their assignment
      on May 24, 2012
    7. added and removed
      stdlibStandard Library Python modules in the Lib/ directory
      on May 24, 2012
    8. bitdancer commented on Sep 8, 2016

      @bitdancer
      MemberAuthor

      This is now done, in the new email API that was just made no longer provisional.

    9. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions