Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

email.encoders.encode_base64 sets payload to bytes, should set to str #53142

Closed
forestatq mannequin opened this issue Jun 4, 2010 · 3 comments
Closed

email.encoders.encode_base64 sets payload to bytes, should set to str #53142

forestatq mannequin opened this issue Jun 4, 2010 · 3 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@forestatq
Copy link
Mannequin

forestatq mannequin commented Jun 4, 2010

BPO 8896
Nosy @bitdancer
Superseder
  • bpo-4768: email.generator.Generator object bytes/str crash - b64encode() bug?
  • Files
  • python-email-encoders-base64-str.patch: Patch to fix issue
  • 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 = 'https://github.com/bitdancer'
    closed_at = <Date 2010-06-04.15:02:17.861>
    created_at = <Date 2010-06-04.14:07:17.008>
    labels = ['library']
    title = 'email.encoders.encode_base64 sets payload to bytes, should set to str'
    updated_at = <Date 2010-06-26.08:25:19.081>
    user = 'https://bugs.python.org/forestatq'

    bugs.python.org fields:

    activity = <Date 2010-06-26.08:25:19.081>
    actor = 'eric.araujo'
    assignee = 'r.david.murray'
    closed = True
    closed_date = <Date 2010-06-04.15:02:17.861>
    closer = 'forest_atq'
    components = ['Library (Lib)']
    creation = <Date 2010-06-04.14:07:17.008>
    creator = 'forest_atq'
    dependencies = []
    files = ['17550']
    hgrepos = []
    issue_num = 8896
    keywords = ['patch']
    message_count = 3.0
    messages = ['107055', '107062', '107064']
    nosy_count = 3.0
    nosy_names = ['forest_atq', 'r.david.murray', 'l0nwlf']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '4768'
    type = None
    url = 'https://bugs.python.org/issue8896'
    versions = ['Python 3.1', 'Python 3.2']

    @forestatq
    Copy link
    Mannequin Author

    forestatq mannequin commented Jun 4, 2010

    Ran into this while tackling bpo-3244. Encoded payload members should not be bytes. In the case of base64, we should have an ascii string.

    @forestatq forestatq mannequin added the stdlib Python modules in the Lib dir label Jun 4, 2010
    @bitdancer
    Copy link
    Member

    This is a duplicate of bpo-4768. Could you attach your patch to that issue, please?

    @bitdancer bitdancer self-assigned this Jun 4, 2010
    @forestatq
    Copy link
    Mannequin Author

    forestatq mannequin commented Jun 4, 2010

    Duplicate. See bpo-4768.

    @forestatq forestatq mannequin closed this as completed Jun 4, 2010
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant