Skip to content

Emit SyntaxWarning for code that risks UnboundLocalError #60633

@ncoghlan

Description

@ncoghlan
BPO 16429
Nosy @birkenfeld, @ncoghlan, @asvetlov, @durban

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 2017-03-07.19:24:04.815>
created_at = <Date 2012-11-07.14:59:26.405>
labels = ['type-feature']
title = 'Emit SyntaxWarning for code that risks UnboundLocalError'
updated_at = <Date 2017-03-07.19:24:04.814>
user = 'https://github.com/ncoghlan'

bugs.python.org fields:

activity = <Date 2017-03-07.19:24:04.814>
actor = 'serhiy.storchaka'
assignee = 'none'
closed = True
closed_date = <Date 2017-03-07.19:24:04.815>
closer = 'serhiy.storchaka'
components = []
creation = <Date 2012-11-07.14:59:26.405>
creator = 'ncoghlan'
dependencies = []
files = []
hgrepos = []
issue_num = 16429
keywords = []
message_count = 2.0
messages = ['175107', '228683']
nosy_count = 4.0
nosy_names = ['georg.brandl', 'ncoghlan', 'asvetlov', 'daniel.urban']
pr_nums = []
priority = 'normal'
resolution = 'rejected'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue16429'
versions = ['Python 3.5']

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions