Skip to content

BUG in how _strptime() handles week 0 #67325

@jamercee

Description

@jamercee
mannequin
BPO 23136
Nosy @malemburg, @abalkin, @aganders3, @serhiy-storchaka, @jamercee
Files
  • patch.txt: Bug fix
  • example.c
  • strptimetest.c: Utility for testing C strptime
  • strptime_julian_none.patch: Use None as signal value for julian
  • strptime_check_valid_week.patch: Check if week and weekday fit in the year
  • strptimetest2.c
  • strptime_julian_none_2.patch: Added tests
  • 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 2015-03-19.17:16:33.516>
    created_at = <Date 2014-12-30.21:04:37.125>
    labels = ['type-bug', 'library']
    title = 'BUG in how _strptime() handles week 0'
    updated_at = <Date 2015-03-19.19:25:55.584>
    user = 'https://github.com/jamercee'

    bugs.python.org fields:

    activity = <Date 2015-03-19.19:25:55.584>
    actor = 'jamercee'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-03-19.17:16:33.516>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2014-12-30.21:04:37.125>
    creator = 'jamercee'
    dependencies = []
    files = ['37568', '37572', '37573', '37574', '37575', '37576', '37674']
    hgrepos = []
    issue_num = 23136
    keywords = ['patch']
    message_count = 24.0
    messages = ['233219', '233248', '233250', '233251', '233252', '233253', '233255', '233256', '233257', '233258', '233259', '233265', '233323', '233328', '238540', '238542', '238543', '238544', '238545', '238546', '238547', '238548', '238550', '238551']
    nosy_count = 9.0
    nosy_names = ['lemburg', 'belopolsky', 'Erik.Cederstrand', 'python-dev', 'aganders3', 'serhiy.storchaka', 'jamercee', 'Saimadhav.Heblikar', 'torm']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue23136'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions