Skip to content

Change str(x) to return only the qualname for some types #57433

@merwok

Description

@merwok
BPO 13224
Nosy @gvanrossum, @ncoghlan, @pitrou, @vstinner, @rbtcollins, @ezio-melotti, @merwok, @ericsnowcurrently, @vadmium, @serhiy-storchaka, @vedgar
PRs
  • [WIP] bpo-13224 Change str for classes, functions and modules #3608
  • Dependencies
  • bpo-13448: PEP 3155 implementation
  • Files
  • change-some-str.diff
  • test-str-repr.py
  • 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/merwok'
    closed_at = <Date 2017-09-19.16:08:41.864>
    created_at = <Date 2011-10-19.19:44:54.672>
    labels = ['interpreter-core', 'type-feature', '3.7']
    title = 'Change str(x) to return only the qualname for some types'
    updated_at = <Date 2017-09-19.16:27:20.990>
    user = 'https://github.com/merwok'

    bugs.python.org fields:

    activity = <Date 2017-09-19.16:27:20.990>
    actor = 'gvanrossum'
    assignee = 'eric.araujo'
    closed = True
    closed_date = <Date 2017-09-19.16:08:41.864>
    closer = 'eric.araujo'
    components = ['Interpreter Core']
    creation = <Date 2011-10-19.19:44:54.672>
    creator = 'eric.araujo'
    dependencies = ['13448']
    files = ['23771', '23772']
    hgrepos = []
    issue_num = 13224
    keywords = ['patch', 'needs review']
    message_count = 34.0
    messages = ['145946', '145965', '146080', '146216', '146530', '146566', '146844', '146854', '146858', '146938', '147227', '148122', '148129', '148266', '154309', '154360', '154444', '244997', '245011', '245031', '248069', '248088', '248629', '302311', '302316', '302495', '302496', '302499', '302502', '302506', '302510', '302534', '302536', '302539']
    nosy_count = 11.0
    nosy_names = ['gvanrossum', 'ncoghlan', 'pitrou', 'vstinner', 'rbcollins', 'ezio.melotti', 'eric.araujo', 'eric.snow', 'martin.panter', 'serhiy.storchaka', 'veky']
    pr_nums = ['3608']
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue13224'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions