Why no warnings when re-assigning builtin names?
Seebs
usenet-nospam at seebs.net
Tue Aug 16 19:49:23 EDT 2011
On 2011-08-16, Terry Reedy <tjreedy at udel.edu> wrote:
> On 8/16/2011 2:56 PM, Seebs wrote:
>> I wonder whether there's a way to mitigate the cost of these things by
>> messing with -W settings, such that runtime that wants to be fast can
>> omit the checks, but the default could still be to, well, prevent likely
>> errors.
> Warning messages have a cost even if suppressed.
Yes, but is it a *significant* cost? My assumption is that the suppression
would be of checking, not just of displaying messages.
-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