[Python-Dev] ImportWarning flood
Benji York
benji at benjiyork.com
Mon Jun 26 20:41:04 CEST 2006
More information about the Python-Dev mailing list
Mon Jun 26 20:41:04 CEST 2006
- Previous message: [Python-Dev] ImportWarning flood
- Next message: [Python-Dev] ImportWarning flood
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Michael Hudson wrote: > Benji York <benji at benjiyork.com> writes: > >>Nick Coghlan wrote: >> >>>Perhaps ImportWarning should default to being ignored, the same way >>>PendingDeprecationWarning does? >>> >>>Then -Wd would become 'the one obvious way' to debug import problems >> >>+1 > > I'm not sure what this would achieve I'm more concerned with what it shouldn't achieve (changing the rules in an annoying and disruptive way). > The more I think about it, the more I like the idea of saying > something when an import fails only because of a missing __init__.py > file. I totally agree! I just doubted that approach would be appealing [to Guido] when the choice of adding warnings had already been made. -- Benji York
- Previous message: [Python-Dev] ImportWarning flood
- Next message: [Python-Dev] ImportWarning flood
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list