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 <[email protected]>
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: <[email protected]>
2015-11-10 11:18:07xdegayelinkissue25596 messages
2015-11-10 11:18:07xdegayecreate