A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-November/029958.html below:

[Python-Dev] would warnings be appropriate for probably-misused global statements?

[Python-Dev] would warnings be appropriate for probably-misused global statements? [Python-Dev] would warnings be appropriate for probably-misused global statements?Skip Montanaro skip@pobox.com
Wed, 6 Nov 2002 10:21:48 -0600
    Alex> I've recently helped clarify a few users' confusion about what the
    Alex> "global" statement is for, and I'm starting to think that it might
    Alex> help overcome that confusion if "global" gave warnings when used
    Alex> in probably-inappropriate ways: not inside a function, or about a
    Alex> variable that the function does not, in fact, bind nor re-bind.
    Alex> Is there agreement that this might be helpful?

Yes, but perhaps it should be left to pychecker.

Skip



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4