Skip to content

smtpd.py should not decode utf-8 #63861

@lpolzer

Description

@lpolzer
mannequin
BPO 19662
Nosy @warsaw, @vstinner, @bitdancer, @soltysh, @zvyn
Files
  • smtpd_charset_latin1.diff: Make smtpd.py use latin1 instead of utf-8 as default decoding.
  • python3.3-lib-smtpd-patch.diff: move utf-8 decode to the end of line rcv process
  • switch_while_decode1.patch: Patch to switch between utf8 and binary decode with decode_data variable
  • switch_while_decode2.patch: Switch between utf8 and binary decode based on decode_data var
  • issue19662_v1.patch: decode_data extension for smptd (patch v1)
  • issue19662_v2.patch: decode_data extension for smptd (patch v2)
  • issue19662_v3.patch: decode_data extension for smptd (patch v3)
  • 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 2014-06-11.15:25:23.243>
    created_at = <Date 2013-11-20.10:51:43.730>
    labels = ['type-feature', 'library', 'expert-email']
    title = 'smtpd.py should not decode utf-8'
    updated_at = <Date 2015-05-19.11:19:16.216>
    user = 'https://bugs.python.org/lpolzer'

    bugs.python.org fields:

    activity = <Date 2015-05-19.11:19:16.216>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-06-11.15:25:23.243>
    closer = 'r.david.murray'
    components = ['Library (Lib)', 'email']
    creation = <Date 2013-11-20.10:51:43.730>
    creator = 'lpolzer'
    dependencies = []
    files = ['32719', '32861', '34700', '34704', '35390', '35404', '35409']
    hgrepos = []
    issue_num = 19662
    keywords = ['patch']
    message_count = 29.0
    messages = ['203467', '203473', '203477', '203488', '203496', '203497', '204527', '204540', '210431', '210433', '213897', '214010', '215375', '216843', '217135', '218888', '218899', '218900', '219308', '219353', '219363', '219382', '220278', '220279', '220284', '243348', '243564', '243579', '243580']
    nosy_count = 13.0
    nosy_names = ['barry', 'richard', 'vstinner', 'Arfrever', 'r.david.murray', 'jesstess', 'python-dev', 'maciej.szulik', 'lpolzer', 'Illirgway', 'Duke.Dougal', 'zvyn', 'sreepriya']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue19662'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibPython modules in the Lib dirtopic-emailtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions