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

AttributeError: 'frame' object has no attribute 'f_restricted' #79219

Closed
Delgan mannequin opened this issue Oct 21, 2018 · 7 comments
Closed

AttributeError: 'frame' object has no attribute 'f_restricted' #79219

Delgan mannequin opened this issue Oct 21, 2018 · 7 comments
Labels
3.7 (EOL) end of life 3.8 (EOL) end of life docs Documentation in the Doc dir easy type-feature A feature request or enhancement

Comments

@Delgan
Copy link
Mannequin

Delgan mannequin commented Oct 21, 2018

BPO 35038
Nosy @serhiy-storchaka, @matrixise, @miss-islington, @Delgan
PRs
  • bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. #10098
  • [3.7] bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098) #10105
  • [3.6] bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098) #10106
  • 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-10-25.22:34:27.557>
    created_at = <Date 2018-10-21.15:02:02.220>
    labels = ['easy', '3.8', 'type-feature', '3.7', 'docs']
    title = "AttributeError: 'frame' object has no attribute 'f_restricted'"
    updated_at = <Date 2018-10-25.22:34:27.556>
    user = 'https://github.com/Delgan'

    bugs.python.org fields:

    activity = <Date 2018-10-25.22:34:27.556>
    actor = 'matrixise'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2018-10-25.22:34:27.557>
    closer = 'matrixise'
    components = ['Documentation']
    creation = <Date 2018-10-21.15:02:02.220>
    creator = 'Delgan'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35038
    keywords = ['patch', 'easy']
    message_count = 7.0
    messages = ['328217', '328218', '328453', '328494', '328495', '328496', '328503']
    nosy_count = 5.0
    nosy_names = ['docs@python', 'serhiy.storchaka', 'matrixise', 'miss-islington', 'Delgan']
    pr_nums = ['10098', '10105', '10106']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue35038'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    @Delgan
    Copy link
    Mannequin Author

    Delgan mannequin commented Oct 21, 2018

    In the documentation (https://docs.python.org/3/library/inspect.html#types-and-members), the attribute f_restricted is listed as a member of frame objects. However, while trying to access it or even when calling help(), the object does not seem to have such attribute.

    Is it a issue with the documentation that has not been updated?

    I'm using Python 3.6.3 on Linux.

    @Delgan Delgan mannequin assigned docspython Oct 21, 2018
    @Delgan Delgan mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Oct 21, 2018
    @serhiy-storchaka
    Copy link
    Member

    It is an issue with the documentation.

    @matrixise
    Copy link
    Member

    I have proposed a PR.

    @miss-islington
    Copy link
    Contributor

    New changeset 1770d1c by Miss Islington (bot) (Stéphane Wirtel) in branch 'master':
    bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098)
    1770d1c

    @miss-islington
    Copy link
    Contributor

    New changeset c64c405 by Miss Islington (bot) in branch '3.7':
    bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098)
    c64c405

    @miss-islington
    Copy link
    Contributor

    New changeset 3b87151 by Miss Islington (bot) in branch '3.6':
    bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098)
    3b87151

    @matrixise
    Copy link
    Member

    all the PRs have been merged, we can close this issue.

    @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
    3.7 (EOL) end of life 3.8 (EOL) end of life docs Documentation in the Doc dir easy type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants