Re: [Python-Dev] ImportWarning decision

2006-07-05 Thread Guido van Rossum
On 7/6/06, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 01:24 PM 7/6/2006 +1000, Anthony Baxter wrote: > >This means Google can just turn it on in sitecustomize.py and Guido > >can avoid the hordes of peasants with pitchforks and burning torches. > > Is that really true? It seems to me that Guid

Re: [Python-Dev] ImportWarning decision

2006-07-05 Thread Phillip J. Eby
At 01:24 PM 7/6/2006 +1000, Anthony Baxter wrote: >This means Google can just turn it on in sitecustomize.py and Guido >can avoid the hordes of peasants with pitchforks and burning torches. Is that really true? It seems to me that Guido indicated a sitecustomize-solution wasn't possible, in whic

[Python-Dev] ImportWarning decision

2006-07-05 Thread Anthony Baxter
So there's 3 choices here: a) revert the importwarning entirely b) make it suppressed by default c) more complicated code in import.c to only emit the warning if the import fails. After a bit of a chat with Neal, I think the best combination of prudence and functionality is (b). (a) also works