Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue35038

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:AttributeError: 'frame' object has no attribute 'f_restricted'
Type:enhancementStage:resolved
Components:DocumentationVersions:Python 3.8, Python 3.7, Python 3.6
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: docs@pythonNosy List: Delgan, docs@python, matrixise, miss-islington, serhiy.storchaka
Priority:normalKeywords:easy, patch

Created on2018-10-21 15:02 byDelgan, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 10098mergedmatrixise,2018-10-25 15:46
PR 10105mergedmiss-islington,2018-10-25 21:13
PR 10106mergedmiss-islington,2018-10-25 21:14
Messages (7)
msg328217 -(view)Author: Delgan (Delgan)*Date: 2018-10-21 15:02
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.
msg328218 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2018-10-21 15:12
It is an issue with the documentation.
msg328453 -(view)Author: Stéphane Wirtel (matrixise)*(Python committer)Date: 2018-10-25 15:47
I have proposed a PR.
msg328494 -(view)Author: miss-islington (miss-islington)Date: 2018-10-25 21:13
New changeset1770d1c5121ed6c64d7072875738f97e07eede8a by Miss Islington (bot) (Stéphane Wirtel) in branch 'master':bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098)https://github.com/python/cpython/commit/1770d1c5121ed6c64d7072875738f97e07eede8a
msg328495 -(view)Author: miss-islington (miss-islington)Date: 2018-10-25 21:19
New changesetc64c4056c1fce0a18e5810fc6352712612a64010 by Miss Islington (bot) in branch '3.7':bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098)https://github.com/python/cpython/commit/c64c4056c1fce0a18e5810fc6352712612a64010
msg328496 -(view)Author: miss-islington (miss-islington)Date: 2018-10-25 21:22
New changeset3b87151879adb795c3c0372832c87da84ee93974 by Miss Islington (bot) in branch '3.6':bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098)https://github.com/python/cpython/commit/3b87151879adb795c3c0372832c87da84ee93974
msg328503 -(view)Author: Stéphane Wirtel (matrixise)*(Python committer)Date: 2018-10-25 22:34
all the PRs have been merged, we can close this issue.
History
DateUserActionArgs
2022-04-11 14:59:07adminsetgithub: 79219
2018-10-25 22:34:27matrixisesetstatus: open -> closed
resolution: fixed
messages: +msg328503

stage: patch review -> resolved
2018-10-25 21:22:04miss-islingtonsetmessages: +msg328496
2018-10-25 21:19:35miss-islingtonsetmessages: +msg328495
2018-10-25 21:14:08miss-islingtonsetpull_requests: +pull_request9436
2018-10-25 21:13:59miss-islingtonsetkeywords: +patch
stage: needs patch -> patch review
pull_requests: +pull_request9435
2018-10-25 21:13:50miss-islingtonsetnosy: +miss-islington
messages: +msg328494
2018-10-25 15:47:05matrixisesetnosy: +matrixise
messages: +msg328453

keywords: -patch
stage: patch review -> needs patch
2018-10-25 15:46:39matrixisesetkeywords: +patch
stage: needs patch -> patch review
pull_requests: +pull_request9431
2018-10-21 15:13:32serhiy.storchakasetstage: needs patch
versions: + Python 3.7, Python 3.8
2018-10-21 15:12:55serhiy.storchakasetkeywords: +easy
nosy: +serhiy.storchaka
messages: +msg328218

2018-10-21 15:02:02Delgancreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp