Skip to content

time.strptime too strict? should it assume current year? #46480

@gpshead

Description

@gpshead
BPO 2227
Nosy @brettcannon, @gpshead, @tebeka
Files
  • _strptime.diff: _strptime.py path to default to current year
  • test_strptime.diff: adaption of the corresponding test case
  • 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/brettcannon'
    closed_at = <Date 2009-04-02.05:42:12.207>
    created_at = <Date 2008-03-03.21:41:25.413>
    labels = ['easy', 'type-bug', 'library']
    title = 'time.strptime too strict?  should it assume current year?'
    updated_at = <Date 2009-04-02.05:42:12.205>
    user = 'https://github.com/gpshead'

    bugs.python.org fields:

    activity = <Date 2009-04-02.05:42:12.205>
    actor = 'brett.cannon'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2009-04-02.05:42:12.207>
    closer = 'brett.cannon'
    components = ['Library (Lib)']
    creation = <Date 2008-03-03.21:41:25.413>
    creator = 'gregory.p.smith'
    dependencies = []
    files = ['9788', '9800']
    hgrepos = []
    issue_num = 2227
    keywords = ['patch', 'easy']
    message_count = 5.0
    messages = ['63236', '63239', '64192', '64227', '85169']
    nosy_count = 4.0
    nosy_names = ['brett.cannon', 'gregory.p.smith', 'tebeka', 'schuppenies']
    pr_nums = []
    priority = 'low'
    resolution = 'rejected'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2227'
    versions = ['Python 2.6', 'Python 2.5', 'Python 3.0']

    Metadata

    Metadata

    Assignees

    Labels

    easystdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions