You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
assignment of winreg module to another name causes NameError #55711
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=Noneclosed_at=<Date2011-03-14.21:51:34.721>created_at=<Date2011-03-14.16:31:31.725>labels= ['expert-2to3']
title='assignment of winreg module to another name causes NameError'updated_at=<Date2011-03-14.21:51:34.720>user='https://github.com/jaraco'
Activity
jaraco commentedon Mar 14, 2011
Consider the Python file:
Currently, 2to3 converts this to:
The result will elicit a NameError on line 3 (if line 2 is valid). Is it possible to support this case?
Arfrever commentedon Mar 14, 2011
It's a duplicate of issue bpo-11276.
jaraco commentedon Mar 14, 2011
Good call. Closing.