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 benjamin.peterson
Recipients HWJ, amaury.forgeotdarc, benjamin.peterson, dlitz, gvanrossum, pitrou, vstinner, zegreek
Date 2008-09-21.23:48:14
SpamBayes Score 1.4570841e-05
Marked as misclassified No
Message-id <1222040895.95.0.314785346598.issue3187@psf.upfronthosting.co.za>
In-reply-to
Content
Here's two more patches. One is like the old one with Amaury's comments
observed. The other simply notes if there were decoding problems and
warns once at the end of the listdir call.

Making a warning happen more than once is tricky because it requires
messing with the warnings filter. This of course takes away some of the
user's control which is one of the main reasons for using the Python
warning system in the first place.

(I almost wish we could write another listdir that returned the names it
could decode and a list of those it couldn't.)
History
Date User Action Args
2008-09-21 23:48:16benjamin.petersonsetrecipients: + benjamin.peterson, gvanrossum, amaury.forgeotdarc, pitrou, vstinner, HWJ, dlitz, zegreek
2008-09-21 23:48:15benjamin.petersonsetmessageid: <1222040895.95.0.314785346598.issue3187@psf.upfronthosting.co.za>
2008-09-21 23:48:14benjamin.petersonlinkissue3187 messages
2008-09-21 23:48:14benjamin.petersoncreate