Re: [Python-Dev] ImportWarning flood

2006-07-01 Thread Sergey A. Lipnevich
Martin v. Löwis wrote: > Sergey A. Lipnevich wrote: >> I tried to implement Jean-Paul Calderone's idea for the following patch, >> plagiarizing Ralf W. Grosse-Kunstleve's error text. It delays import ... > Please notice that there is also python.org/sf/1515361 >

Re: [Python-Dev] ImportWarning flood

2006-07-01 Thread Sergey A. Lipnevich
All, I tried to implement Jean-Paul Calderone's idea for the following patch, plagiarizing Ralf W. Grosse-Kunstleve's error text. It delays import warning until end of search for modules, but remembers how many potential modules (candidates without __init__.py) it didn't import. I didn't really tr