This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 171060 - Global variables in functions generate unwanted hints
Summary: Global variables in functions generate unwanted hints
Status: CLOSED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-28 11:30 UTC by cdimauro
Modified: 2017-06-23 08:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cdimauro 2009-08-28 11:30:21 UTC
Typing this:

def f():
  global a
  a = 10

the editor reports an "Unused Variable a" hint.
Comment 1 Jenselme 2017-06-22 21:55:58 UTC
This should be fixed in our new release in August. Closing this. Reopen if needed.
Comment 2 Jiri Kovalsky 2017-06-23 08:06:11 UTC
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.