Skip to content

posixmodule.c:path_converter() returns an invalid exception message for broken PathLike objects #80123

@ambv

Description

@ambv
BPO 35942
Nosy @ambv, @serhiy-storchaka, @pablogsal, @miss-islington
PRs
  • bpo-35942: Improve the error message if __fspath__ returns invalid types in path_converter #11831
  • [3.7] bpo-35942: Improve the error message if __fspath__ returns invalid types in path_converter (GH-11831) #11912
  • Fix syntax warnings in tests introduced in bpo-35942. #11934
  • Fix syntax warnings in tests introduced in bpo-15248. #11932
  • [3.7] Fix syntax warnings in tests introduced in bpo-35942. (GH-11934) #11937
  • 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 2019-02-18.11:38:39.756>
    created_at = <Date 2019-02-08.16:34:39.069>
    labels = ['3.8', 'type-bug', '3.7']
    title = 'posixmodule.c:path_converter() returns an invalid exception message for broken PathLike objects'
    updated_at = <Date 2019-02-19.12:16:41.732>
    user = 'https://github.com/ambv'

    bugs.python.org fields:

    activity = <Date 2019-02-19.12:16:41.732>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-02-18.11:38:39.756>
    closer = 'pablogsal'
    components = []
    creation = <Date 2019-02-08.16:34:39.069>
    creator = 'lukasz.langa'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35942
    keywords = ['patch']
    message_count = 6.0
    messages = ['335094', '335756', '335804', '335809', '335935', '335939']
    nosy_count = 4.0
    nosy_names = ['lukasz.langa', 'serhiy.storchaka', 'pablogsal', 'miss-islington']
    pr_nums = ['11831', '11912', '11934', '11932', '11937']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue35942'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifetype-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