Skip to content

tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28) #49538

@jamesh

Description

@jamesh
mannequin
BPO 5288
Nosy @gvanrossum, @tim-one, @mdickinson, @abalkin, @vstinner, @benjaminp
PRs
  • Closes issue bpo-5288: Allow tzinfo objects with sub-minute offsets. #2896
  • bpo-15873: Implement [date][time].fromisoformat #4699
  • Files
  • issue5288-proto.diff
  • issue5288.diff: patch for the C code
  • old-datetimemodule.c.gcov: Test coverage before change
  • new-datetimemodule.c.gcov: Test coverage after change
  • issue5288a.diff
  • 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/abalkin'
    closed_at = <Date 2017-07-31.14:27:55.922>
    created_at = <Date 2009-02-17.04:33:24.503>
    labels = ['extension-modules', 'easy', 'type-feature', '3.7']
    title = 'tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)'
    updated_at = <Date 2017-12-13.02:13:30.662>
    user = 'https://bugs.python.org/jamesh'

    bugs.python.org fields:

    activity = <Date 2017-12-13.02:13:30.662>
    actor = 'p-ganssle'
    assignee = 'belopolsky'
    closed = True
    closed_date = <Date 2017-07-31.14:27:55.922>
    closer = 'belopolsky'
    components = ['Extension Modules']
    creation = <Date 2009-02-17.04:33:24.503>
    creator = 'jamesh'
    dependencies = []
    files = ['17844', '17865', '17874', '17875', '17897']
    hgrepos = []
    issue_num = 5288
    keywords = ['easy']
    message_count = 23.0
    messages = ['82299', '106374', '108606', '109151', '109262', '109347', '109348', '109504', '109508', '109510', '174494', '174742', '174760', '248468', '251870', '299240', '299254', '299330', '299377', '299389', '299394', '299395', '299557']
    nosy_count = 8.0
    nosy_names = ['gvanrossum', 'tim.peters', 'jamesh', 'mark.dickinson', 'belopolsky', 'vstinner', 'benjamin.peterson', 'Fergus.Noble']
    pr_nums = ['2896', '4699']
    priority = None
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue5288'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions