Skip to content

imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly #55130

Description

@lavajoe
mannequin
BPO 10921
Nosy @birkenfeld, @abalkin, @bitdancer
Superseder
  • bpo-10934: imaplib: Internaldate2tuple() is documented to return UTC, but it returns local time
  • Files
  • imaplib_Internaldate2tuple_python32.patch: Patch for Python 3.2
  • imaplib_Internaldate2tuple_python27.patch: Patch to Python 2.7 that fixes the pre-py3k subset of issues
  • 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 2011-01-19.15:40:12.731>
    created_at = <Date 2011-01-16.23:32:31.601>
    labels = ['tests', 'type-bug', 'library', 'docs']
    title = 'imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly'
    updated_at = <Date 2011-01-19.17:53:12.114>
    user = 'https://bugs.python.org/lavajoe'

    bugs.python.org fields:

    activity = <Date 2011-01-19.17:53:12.114>
    actor = 'belopolsky'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2011-01-19.15:40:12.731>
    closer = 'lavajoe'
    components = ['Documentation', 'Library (Lib)', 'Tests']
    creation = <Date 2011-01-16.23:32:31.601>
    creator = 'lavajoe'
    dependencies = []
    files = ['20431', '20432']
    hgrepos = []
    issue_num = 10921
    keywords = ['patch']
    message_count = 11.0
    messages = ['126386', '126388', '126418', '126421', '126444', '126448', '126451', '126464', '126466', '126504', '126534']
    nosy_count = 5.0
    nosy_names = ['georg.brandl', 'belopolsky', 'r.david.murray', 'docs@python', 'lavajoe']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '10934'
    type = 'behavior'
    url = 'https://bugs.python.org/issue10921'
    versions = ['Python 2.7', 'Python 3.2']

    Activity

    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

      docsDocumentation in the Doc dirstdlibStandard Library Python modules in the Lib/ directorytestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions