Skip to content

strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales#53203

@abalkin

Description

@abalkin
BPO8957
Nosy@abalkin, @vstinner, @ezio-melotti
Dependencies
  • bpo-8915: Use locale.nl_langinfo in _strptime
  • Files
  • strptime-locale-bug.c: Working C code
  • strptime-locale-bug.py: Failing python code
  • cfmt.py
  • issue8957.py3k.1.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=Noneclosed_at=Nonecreated_at=<Date2010-06-09.20:24:38.889>labels= ['extension-modules', 'type-bug', '3.7'] title="strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales"updated_at=<Date2016-09-26.21:29:29.654>user='https://github.com/abalkin'

    bugs.python.org fields:

    activity=<Date2016-09-26.21:29:29.654>actor='belopolsky'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Extension Modules'] creation=<Date2010-06-09.20:24:38.889>creator='belopolsky'dependencies= ['8915'] files= ['17601', '17602', '20358', '20412'] hgrepos= [] issue_num=8957keywords= ['patch'] message_count=18.0messages= ['107413', '125966', '125968', '126043', '126045', '126055', '126057', '126059', '126084', '126235', '126313', '126316', '126339', '126340', '126345', '126347', '126358', '221924'] nosy_count=4.0nosy_names= ['belopolsky', 'vstinner', 'ezio.melotti', 'rpetrov'] pr_nums= [] priority='normal'resolution=Nonestage='needs patch'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue8957'versions= ['Python 3.7']

    Linked PRs

    Metadata

    Metadata

    Labels

    extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions