Skip to content

with statement executes type(obj).__exit__ rather than getattr(obj,"__exit__") #60272

@PaulWiseman

Description

@PaulWiseman
BPO 16068

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 2012-09-28.03:10:23.129>
created_at = <Date 2012-09-28.03:02:34.436>
labels = ['invalid', 'type-bug', 'library']
title = 'with statement executes type(obj).__exit__ rather than getattr(obj,"__exit__")'
updated_at = <Date 2012-09-28.03:10:23.128>
user = 'https://bugs.python.org/PaulWiseman'

bugs.python.org fields:

activity = <Date 2012-09-28.03:10:23.128>
actor = 'Paul.Wiseman'
assignee = 'none'
closed = True
closed_date = <Date 2012-09-28.03:10:23.129>
closer = 'Paul.Wiseman'
components = ['Library (Lib)']
creation = <Date 2012-09-28.03:02:34.436>
creator = 'Paul.Wiseman'
dependencies = []
files = []
hgrepos = []
issue_num = 16068
keywords = []
message_count = 2.0
messages = ['171399', '171401']
nosy_count = 1.0
nosy_names = ['Paul.Wiseman']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue16068'
versions = ['Python 2.7']

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions