[issue40459] [easy] undefined names in platform.py

2020-05-04 Thread STINNER Victor


Change by STINNER Victor :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40459] [easy] undefined names in platform.py

2020-05-04 Thread miss-islington


miss-islington  added the comment:


New changeset efc782d29e229924076ffb6645a72f26242fb3ef by Miss Islington (bot) 
in branch '3.8':
bpo-40459: Fix NameError in platform.py (GH-19855)
https://github.com/python/cpython/commit/efc782d29e229924076ffb6645a72f26242fb3ef


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40459] [easy] undefined names in platform.py

2020-05-04 Thread miss-islington


miss-islington  added the comment:


New changeset 8ddf91543890e38c76aa0029482c6f5f5c444837 by Miss Islington (bot) 
in branch '3.7':
bpo-40459: Fix NameError in platform.py (GH-19855)
https://github.com/python/cpython/commit/8ddf91543890e38c76aa0029482c6f5f5c444837


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40459] [easy] undefined names in platform.py

2020-05-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +19228
pull_request: https://github.com/python/cpython/pull/19913

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40459] [easy] undefined names in platform.py

2020-05-04 Thread Dong-hee Na


Dong-hee Na  added the comment:


New changeset 1e7e4519a8ddc2239101a0146d788c9161143a77 by Dennis Sweeney in 
branch 'master':
bpo-40459: Fix NameError in platform.py (GH-19855)
https://github.com/python/cpython/commit/1e7e4519a8ddc2239101a0146d788c9161143a77


--
nosy: +corona10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40459] [easy] undefined names in platform.py

2020-05-04 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 7.0 -> 8.0
pull_requests: +19227
pull_request: https://github.com/python/cpython/pull/19912

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40459] [easy] undefined names in platform.py

2020-05-01 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40459] [easy] undefined names in platform.py

2020-05-01 Thread Dennis Sweeney


Change by Dennis Sweeney :


--
keywords: +patch
nosy: +Dennis Sweeney
nosy_count: 1.0 -> 2.0
pull_requests: +19171
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19855

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40459] [easy] undefined names in platform.py

2020-04-30 Thread STINNER Victor


New submission from STINNER Victor :

pyflakes found the two following issues in platform.py:

Lib/platform.py:401:35 undefined name 'HKEY_LOCAL_MACHINE'
Lib/platform.py:402:25 undefined name 'QueryValueEx'

Line 353:

with winreg.OpenKeyEx(winreg.HKEY_LOCAL_MACHINE, cvkey) as key:
return winreg.QueryValueEx(key, 'EditionId')[0]

vs Line 401:

with winreg.OpenKeyEx(HKEY_LOCAL_MACHINE, cvkey) as key:
ptype = QueryValueEx(key, 'CurrentType')[0]


This issue seems easy to fix ;-)

--
components: Library (Lib)
keywords: newcomer friendly
messages: 367808
nosy: vstinner
priority: normal
severity: normal
status: open
title: [easy] undefined names in platform.py
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com