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 facundobatista
Recipients amaury.forgeotdarc, christian.heimes, draghuram, facundobatista, ianare
Date 2007-12-03.17:59:52
SpamBayes Score 0.014120182
Marked as misclassified No
Message-id <1196704792.59.0.202515294271.issue1545@psf.upfronthosting.co.za>
In-reply-to
Content
os.walk has an error handling mechanism because it goes through a
collection of files, so it's nice to have, for example, a function
applied if errors appear in some of those files.

As this operation is applicable only to one file, this is not useful at
all: if you want to catch the error, just do it.

Regarding the type of error, note that you can use the mechanism tiran
shows below (if err.errno equals errno.EPERM).

In any case, this bug is not applicable any more.
History
Date User Action Args
2007-12-03 17:59:52facundobatistasetspambayes_score: 0.0141202 -> 0.014120182
recipients: + facundobatista, amaury.forgeotdarc, draghuram, christian.heimes, ianare
2007-12-03 17:59:52facundobatistasetspambayes_score: 0.0141202 -> 0.0141202
messageid: <1196704792.59.0.202515294271.issue1545@psf.upfronthosting.co.za>
2007-12-03 17:59:52facundobatistalinkissue1545 messages
2007-12-03 17:59:52facundobatistacreate