homepage

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 dfwc
Recipients dfwc
Date 2012年02月15日.17:18:29
SpamBayes Score 0.00012285076
Marked as misclassified No
Message-id <1329326310.67.0.0755107537402.issue14022@psf.upfronthosting.co.za>
In-reply-to
Content
in iter_modules there is a loop for fn in os.listdir(path): that can
fail on an OSError exception. here is a patch
 try:
 for fn in os.listdir(path):
 subname = inspect.getmodulename(fn)
 if subname=='__init__':
 ispkg = True
 break
 else:
 continue # not a package
 except OSError as (errno, strerror):
 print "%s: %s\n" % (fn, strerror)
History
Date User Action Args
2012年02月15日 17:18:30dfwcsetrecipients: + dfwc
2012年02月15日 17:18:30dfwcsetmessageid: <1329326310.67.0.0755107537402.issue14022@psf.upfronthosting.co.za>
2012年02月15日 17:18:30dfwclinkissue14022 messages
2012年02月15日 17:18:29dfwccreate

AltStyle によって変換されたページ (->オリジナル) /