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 xdegaye
Recipients xdegaye
Date 2015-11-10.11:18:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447154287.89.0.207791672282.issue25596@psf.upfronthosting.co.za>
In-reply-to
Content
The glob module happily joins names of regular files together with os.path.join() or attempts to list the files contained into a regular file (sic). The same 'except os.error' statement is used to handle both these cases and the case of a non readable directory.

The attached patch makes the code more correct and easier to understand.
History
Date User Action Args
2015-11-10 11:18:07xdegayesetrecipients: + xdegaye
2015-11-10 11:18:07xdegayesetmessageid: <1447154287.89.0.207791672282.issue25596@psf.upfronthosting.co.za>
2015-11-10 11:18:07xdegayelinkissue25596 messages
2015-11-10 11:18:07xdegayecreate