This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, christian.heimes, draghuram, facundobatista, ianare
Date 2007-12-03.15:49:36
SpamBayes Score 0.0672465
Marked as misclassified No
Message-id <1196696976.72.0.876202683334.issue1545@psf.upfronthosting.co.za>
In-reply-to
Content
This reminds me of an option in os.walk:

"""
By default errors from the os.listdir() call are ignored. If optional
argument onerror is specified, it should be a function; it will be
called with one argument, an OSError instance. It can report the error
to continue with the walk, or raise the exception to abort the walk.
Note that the filename is available as the filename attribute of the
exception object.
"""

We could do something similar, except that by default, errors are not
ignored.
History
Date User Action Args
2007-12-03 15:49:37amaury.forgeotdarcsetspambayes_score: 0.0672465 -> 0.0672465
recipients: + amaury.forgeotdarc, facundobatista, draghuram, christian.heimes, ianare
2007-12-03 15:49:36amaury.forgeotdarcsetspambayes_score: 0.0672465 -> 0.0672465
messageid: <1196696976.72.0.876202683334.issue1545@psf.upfronthosting.co.za>
2007-12-03 15:49:36amaury.forgeotdarclinkissue1545 messages
2007-12-03 15:49:36amaury.forgeotdarccreate