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 gvanrossum
Recipients giampaolo.rodola, gvanrossum
Date 2007-11-03.15:17:45
SpamBayes Score 0.42806613
Marked as misclassified No
Message-id <1194103065.82.0.350185727152.issue1376@psf.upfronthosting.co.za>
In-reply-to
Content
You misunderstand. The try/except is there in case os.stat isn't defined 
or its result doesn't have a st_mode attribute. If the stat operation 
fails due to a problem with the file, there's not much point in proceeding 
since the subsequent open() call would fail the same way.
History
Date User Action Args
2007-11-03 15:17:46gvanrossumsetspambayes_score: 0.428066 -> 0.42806613
recipients: + gvanrossum, giampaolo.rodola
2007-11-03 15:17:45gvanrossumsetspambayes_score: 0.428066 -> 0.428066
messageid: <1194103065.82.0.350185727152.issue1376@psf.upfronthosting.co.za>
2007-11-03 15:17:45gvanrossumlinkissue1376 messages
2007-11-03 15:17:45gvanrossumcreate