Skip to content

ConfigParser should be able to write config to a given filename, not only into file object #72974

@georgefischhofhu

Description

@georgefischhofhu
BPO 28788
Nosy @terryjreedy, @mcepl, @ambv, @berkerpeksag, @serhiy-storchaka, @george@fischhof.hu, @bbayles
PRs
  • bpo-28788: configparser.write() accepts also str as a filename to write to #5999
  • 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 2018-03-11.15:47:25.088>
    created_at = <Date 2016-11-24.15:01:58.856>
    labels = ['3.8', 'type-feature', 'library']
    title = 'ConfigParser should be able to write config to a given filename, not only into file object'
    updated_at = <Date 2018-03-11.15:47:25.087>
    user = 'https://github.com/georgefischhofhu'

    bugs.python.org fields:

    activity = <Date 2018-03-11.15:47:25.087>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-03-11.15:47:25.088>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2016-11-24.15:01:58.856>
    creator = 'georgefischhof'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 28788
    keywords = ['patch']
    message_count = 5.0
    messages = ['281636', '313597', '313598', '313601', '313602']
    nosy_count = 7.0
    nosy_names = ['terry.reedy', 'mcepl', 'lukasz.langa', 'berker.peksag', 'serhiy.storchaka', 'georgefischhof', 'bbayles']
    pr_nums = ['5999']
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue28788'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions