Skip to content

File object 'name' attribute inconsistent type and not obviously documented #76775

Closed
@smontanaro

Description

@smontanaro
BPO 32594
Nosy @smontanaro, @bitdancer, @serhiy-storchaka, @matrixise
Superseder
  • bpo-18534: [doc] State clearly that open() 'file' param is "name" attr of the result
  • 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-01-20.15:09:21.039>
    created_at = <Date 2018-01-18.13:51:34.339>
    labels = ['interpreter-core', 'type-bug', '3.8', 'expert-IO', '3.7', 'docs']
    title = "File object 'name' attribute inconsistent type and not obviously documented"
    updated_at = <Date 2018-01-20.15:09:21.038>
    user = 'https://github.com/smontanaro'

    bugs.python.org fields:

    activity = <Date 2018-01-20.15:09:21.038>
    actor = 'r.david.murray'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2018-01-20.15:09:21.039>
    closer = 'r.david.murray'
    components = ['Documentation', 'Interpreter Core', 'IO']
    creation = <Date 2018-01-18.13:51:34.339>
    creator = 'skip.montanaro'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32594
    keywords = []
    message_count = 10.0
    messages = ['310237', '310238', '310239', '310244', '310247', '310248', '310249', '310251', '310350', '310352']
    nosy_count = 5.0
    nosy_names = ['skip.montanaro', 'r.david.murray', 'docs@python', 'serhiy.storchaka', 'matrixise']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '18534'
    type = 'behavior'
    url = 'https://bugs.python.org/issue32594'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifedocsDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-IOtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions