Skip to content

configparser.ConfigParser.read() does not accept Pathlib path as a single argument. #73809

@DavidCEllis

Description

@DavidCEllis
BPO 29623
Nosy @mcepl, @berkerpeksag, @DavidCEllis
PRs
  • bpo-29623: Make pathlib objects work with ConfigParser.read. #242
  • [3.6] bpo-29623: Make PathLike objects work with ConfigParser.read() (#242) #432
  • 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 2017-03-03.18:25:22.565>
    created_at = <Date 2017-02-22.18:48:55.601>
    labels = ['3.7', 'type-bug', 'library']
    title = 'configparser.ConfigParser.read() does not accept Pathlib path as a single argument.'
    updated_at = <Date 2018-03-06.19:26:27.420>
    user = 'https://github.com/DavidCEllis'

    bugs.python.org fields:

    activity = <Date 2018-03-06.19:26:27.420>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-03-03.18:25:22.565>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2017-02-22.18:48:55.601>
    creator = 'David Ellis'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 29623
    keywords = []
    message_count = 3.0
    messages = ['288378', '290326', '290328']
    nosy_count = 3.0
    nosy_names = ['mcepl', 'berker.peksag', 'David Ellis']
    pr_nums = ['242', '432']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue29623'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibStandard 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