Skip to content

test_time fails: strftime('%Y', y) for negative year #57521

@florentx

Description

@florentx
mannequin
BPO 13312
Nosy @gpshead, @abalkin, @vstinner, @jwilk, @florentx, @vadmium, @miss-islington
PRs
  • bpo-13312: Avoid int underflow in time year. #8912
  • [3.7] bpo-13312: Avoid int underflow in time year. (GH-8912) #8913
  • [3.6] bpo-13312: Avoid int underflow in time year. (GH-8912) #8914
  • Files
  • issue13312.patch
  • issue13312.v2.patch
  • 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/gpshead'
    closed_at = <Date 2018-08-25.05:54:42.870>
    created_at = <Date 2011-11-01.16:52:38.444>
    labels = ['3.7', '3.8', 'type-bug', 'tests']
    title = "test_time fails: strftime('%Y', y) for negative year"
    updated_at = <Date 2018-08-27.13:38:03.330>
    user = 'https://github.com/florentx'

    bugs.python.org fields:

    activity = <Date 2018-08-27.13:38:03.330>
    actor = 'vstinner'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2018-08-25.05:54:42.870>
    closer = 'gregory.p.smith'
    components = ['Tests']
    creation = <Date 2011-11-01.16:52:38.444>
    creator = 'flox'
    dependencies = []
    files = ['38290', '43709']
    hgrepos = []
    issue_num = 13312
    keywords = ['patch', 'buildbot']
    message_count = 19.0
    messages = ['146793', '146818', '146822', '146828', '146829', '146830', '220505', '236981', '236985', '236988', '236989', '236993', '236994', '270371', '324026', '324038', '324039', '324040', '324177']
    nosy_count = 8.0
    nosy_names = ['gregory.p.smith', 'belopolsky', 'vstinner', 'jwilk', 'flox', 'python-dev', 'martin.panter', 'miss-islington']
    pr_nums = ['8912', '8913', '8914']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue13312'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of lifetestsTests 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