Skip to content

datetime: add ability to parse RFC 3339 dates and times #60077

Closed
@nagle

Description

@nagle
mannequin
BPO 15873
Nosy @warsaw, @jcea, @cben, @ncoghlan, @abalkin, @vstinner, @jwilk, @mcepl, @merwok, @bitdancer, @karlcow, @elprans, @flying-sheep, @mihaic, @Fak3, @berkerpeksag, @vadmium, @boxed, @jstasiak, @offby1, @deronnax, @pbryan, @pganssle, @sirex, @jaitaiwan
PRs
  • bpo-15873: Implement [date][time].fromisoformat #4699
  • bpo-15873: add '.fromisoformat' for date, time and datetime #4841
  • bpo-15873Add What's new entry for datetime.fromisoformat #5559
  • bpo-15873Add What's new entry for datetime.fromisoformat #5559
  • [3.7] bpo-15873 Add What's new entry for datetime.fromisoformat (GH-5559) #5939
  • Files
  • issue15873-proto.diff
  • test-cases.py: Test cases
  • fromisoformat.patch
  • fromisoformat2.patch: slightly improved version, better use of timedelta
  • fromisoformat3.patch
  • fromisoformat4.patch
  • simplerfromisoformat.patch: simpler, stricter version of fromisoformat
  • fromisoformat_new.patch
  • fromisoformat_new2.patch
  • fromisoformat_new3.patch
  • fromisoformat_singledispatch.patch
  • fromisoformat_regexinclasses.patch: regex as class attributes
  • fromisoformat_strptimesingledispatch.patch: regex looked up by class type in _strptime.py
  • fromisoformat_regexinclasses2.patch: regex as class attributes, 2nd version
  • 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 2018-03-01.18:50:17.237>
    created_at = <Date 2012-09-06.21:08:49.605>
    labels = ['3.7', 'type-feature', 'library']
    title = 'datetime: add ability to parse RFC 3339 dates and times'
    updated_at = <Date 2018-03-01.18:50:17.236>
    user = 'https://bugs.python.org/nagle'

    bugs.python.org fields:

    activity = <Date 2018-03-01.18:50:17.236>
    actor = 'belopolsky'
    assignee = 'belopolsky'
    closed = True
    closed_date = <Date 2018-03-01.18:50:17.237>
    closer = 'belopolsky'
    components = ['Library (Lib)']
    creation = <Date 2012-09-06.21:08:49.605>
    creator = 'nagle'
    dependencies = []
    files = ['27141', '27165', '41922', '41923', '41926', '41927', '41934', '41935', '41940', '41945', '41951', '44015', '44016', '44019']
    hgrepos = []
    issue_num = 15873
    keywords = ['patch']
    message_count = 90.0
    messages = ['169941', '169952', '169966', '169968', '169970', '170098', '170104', '170109', '170112', '170114', '170116', '170180', '170181', '174339', '183672', '183743', '183809', '183921', '183931', '221829', '221830', '221831', '221903', '260099', '260100', '260150', '260266', '260276', '260280', '260282', '260292', '260293', '260294', '260295', '260298', '260303', '260309', '260318', '260337', '260342', '260343', '260344', '260345', '260347', '260350', '260356', '260382', '260420', '260426', '260427', '260440', '260441', '260442', '260445', '260449', '260989', '260990', '260991', '263867', '269714', '269722', '270529', '270828', '270829', '270831', '270899', '272021', '272026', '273609', '291822', '291831', '304950', '307603', '307604', '307605', '307606', '307607', '307610', '307616', '308214', '308505', '308507', '308510', '308569', '308637', '308851', '309168', '309175', '311703', '313105']
    nosy_count = 36.0
    nosy_names = ['barry', 'jcea', 'cben', 'roysmith', 'ncoghlan', 'belopolsky', 'nagle', 'vstinner', 'jwilk', 'mcepl', 'eric.araujo', 'Arfrever', 'r.david.murray', 'davydov', 'cvrebert', 'karlcow', 'SilentGhost', 'Elvis.Pranskevichus', 'perey', 'flying sheep', 'mihaic', 'aymeric.augustin', 'Roman.Evstifeev', 'berker.peksag', 'martin.panter', 'piotr.dobrogost', 'kirpit', 'Anders.Hovm\xc3\xb6ller', 'jstasiak', 'Eric.Hanchrow', 'deronnax', 'pbryan', 'p-ganssle', 'sirex', 'larsonreever', 'jaitaiwan']
    pr_nums = ['4699', '4841', '5559', '5559', '5939']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue15873'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifestdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions