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 eli.bendersky
Recipients eli.bendersky, eric.araujo, giampaolo.rodola, ncoghlan, pitrou, ubershmekel
Date 2012-02-09.04:15:37
SpamBayes Score 1.6062055e-05
Marked as misclassified No
Message-id <1328760939.34.0.622108751484.issue13968@psf.upfronthosting.co.za>
In-reply-to
Content
>> Well, if glob() already lived in shutil, this decision would be a
no-brainer :) Having glob() in the glob module and globtree() in the
shutil module, though, looks a bit weird.
(I agree having a separate module for glob isn't ideal)


Would it be feasible to deprecate the 'glob' module, moving its functionality to shutil? In some future Python version, then, the module can be removed.

The same fate would go for fnmatch, I guess. There are too many modules lying around dealing with the same problems.

On a related note, the doc of glob explicitly mentions that it is implemented with os.listdir and fnmatch. Similarly, *if* the recursive glob gets accepted it should be implemented with walkdir (once that's in).
History
Date User Action Args
2012-02-09 04:15:39eli.benderskysetrecipients: + eli.bendersky, ncoghlan, pitrou, giampaolo.rodola, eric.araujo, ubershmekel
2012-02-09 04:15:39eli.benderskysetmessageid: <1328760939.34.0.622108751484.issue13968@psf.upfronthosting.co.za>
2012-02-09 04:15:38eli.benderskylinkissue13968 messages
2012-02-09 04:15:37eli.benderskycreate