A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006831.html below:

[Python-Dev] 'shadowing' builtins

[Python-Dev] 'shadowing' builtins [Python-Dev] 'shadowing' builtinsSkip Montanaro skip@mojam.com (Skip Montanaro)
Mon, 17 Jul 2000 14:58:11 -0500 (CDT)
    Thomas> He decided to go to David Beazly's python introduction, and he
    Thomas> was suprised at how you can do 'None = 4'. And when I explained
    Thomas> it's harmless (because it's local, not global) he was suprised
    Thomas> it didn't generate a warning. And, well, why doesn't it generate
    Thomas> a warning?

I wrote a script some time ago to print these warnings.  Search

    http://www.musi-cal.com/~skip/python/

for the string "hiding builtin names"...

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