Why no warnings when re-assigning builtin names?
Seebs
usenet-nospam at seebs.net
Mon Aug 15 18:33:30 EDT 2011
On 2011-08-15, Ethan Furman <ethan at stoneleaf.us> wrote:
> Gerrat Rickert wrote:
>> What sayest the Python community about having an explicit warning
>> against such un-pythonic behaviour (re-assigning builtin names)?
> What makes you think this behavior is unpythonic? Python is not about
> hand-holding.
It seems like something which is sufficiently likely to be a mistake might
deserve a warning -- especially since, so far as I can tell, there's never
going to be a program which can't easily be written to avoid the problematic
behavior.
-s
--
Copyright 2011, all wrongs reversed. Peter Seebach / usenet-nospam at seebs.net
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!
I am not speaking for my employer, although they do rent some of my opinions.
More information about the Python-list
mailing list