Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abc.abstractproperty does not copy docstring #52753

Closed
rescrv mannequin opened this issue Apr 23, 2010 · 3 comments
Closed

abc.abstractproperty does not copy docstring #52753

rescrv mannequin opened this issue Apr 23, 2010 · 3 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@rescrv
Copy link
Mannequin

rescrv mannequin commented Apr 23, 2010

BPO 8507
Nosy @birkenfeld, @durban
Files
  • python.abc.abstractproperty.bug: Interactive interpreter session
  • 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 2013-10-14.17:41:59.313>
    created_at = <Date 2010-04-23.13:33:07.458>
    labels = ['type-bug', 'library']
    title = 'abc.abstractproperty does not copy docstring'
    updated_at = <Date 2013-10-14.17:41:59.311>
    user = 'https://bugs.python.org/rescrv'

    bugs.python.org fields:

    activity = <Date 2013-10-14.17:41:59.311>
    actor = 'georg.brandl'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-10-14.17:41:59.313>
    closer = 'georg.brandl'
    components = ['Library (Lib)']
    creation = <Date 2010-04-23.13:33:07.458>
    creator = 'rescrv'
    dependencies = []
    files = ['17052']
    hgrepos = []
    issue_num = 8507
    keywords = []
    message_count = 3.0
    messages = ['104012', '111368', '199934']
    nosy_count = 3.0
    nosy_names = ['georg.brandl', 'daniel.urban', 'rescrv']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue8507'
    versions = ['Python 2.6', 'Python 3.1', 'Python 2.7', 'Python 3.2']

    @rescrv
    Copy link
    Mannequin Author

    rescrv mannequin commented Apr 23, 2010

    Attached file shows interpreter session where the bug manifests.

    It was my expectation that abc.abstractproperty would copy the docstring just like property. Instead, the docstring is the one for abc.abstractproperty itself.

    @rescrv rescrv mannequin added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Apr 23, 2010
    @durban
    Copy link
    Mannequin

    durban mannequin commented Jul 23, 2010

    I tried, and wasn't able to reproduce with py3k (r83091), 3.1.2, release27-maint (r83111), release26-maint (r83111).

    @birkenfeld
    Copy link
    Member

    Confirmed; this appears fixed.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant