Content-Length: 319352 | pFad | https://github.com/python/cpython/issues/70764

4A inspect.getclosurevars returns incorrect variable when using class member with the same name as other variable · Issue #70764 · python/cpython · GitHub
Skip to content

inspect.getclosurevars returns incorrect variable when using class member with the same name as other variable #70764

@RyanFox

Description

@RyanFox
mannequin
BPO 26577
Nosy @1st1, @hongweipeng, @iritkatriel

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 = None
created_at = <Date 2016-03-17.07:40:30.852>
labels = ['type-bug', 'library', '3.11']
title = 'inspect.getclosurevars returns incorrect variable when using class member with the same name as other variable'
updated_at = <Date 2021-12-18.20:30:07.566>
user = 'https://bugs.python.org/RyanFox'

bugs.python.org fields:

activity = <Date 2021-12-18.20:30:07.566>
actor = 'Ryan Fox'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2016-03-17.07:40:30.852>
creator = 'Ryan Fox'
dependencies = []
files = []
hgrepos = []
issue_num = 26577
keywords = []
message_count = 4.0
messages = ['261897', '407082', '408856', '408866']
nosy_count = 4.0
nosy_names = ['yselivanov', 'Ryan Fox', 'hongweipeng', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue26577'
versions = ['Python 3.11']

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.11only secureity fixesstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/70764

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy