43 Commits

Author SHA1 Message Date
Serhiy Storchaka
1d3469988e bpo-38144: Re-add accidentally removed audition for glob. (GH-22805) 2020-10-20 19:45:38 +03:00
Serhiy Storchaka
8a64ceaf98 bpo-38144: Add the root_dir and dir_fd parameters in glob.glob(). (GH-16075) 2020-06-18 22:08:27 +03:00
Serhiy Storchaka
54b4f14712 bpo-38149: Call sys.audit() only once per call for glob.glob(). (GH-18360) 2020-02-06 10:26:37 +02:00
Steve Dower
60419a7e96 bpo-37363: Add audit events for a range of modules (GH-14301) 2019-06-24 08:42:54 -07:00
Serhiy Storchaka
3ae41554c6 Issue #27998: Removed workarounds for supporting bytes paths on Windows in
os.walk() function and glob module since os.scandir() now directly supports
them.
2016-10-05 23:17:10 +03:00
Serhiy Storchaka
c98b26a6ac Issue #25596: Falls back to listdir in glob for bytes paths on Windows. 2016-09-07 09:49:42 +03:00
Serhiy Storchaka
28ab634fa6 Issue #25596: Optimized glob() and iglob() functions in the
glob module; they are now about 3--6 times faster.
2016-09-06 22:33:41 +03:00
Serhiy Storchaka
04b5700b36 Issue #25584: Added "escape" to the __all__ list in the glob module.
From patch by Xavier de Gaye.
2015-11-09 23:18:19 +02:00
Serhiy Storchaka
735b790fed Issue #25584: Fixed recursive glob() with patterns starting with '**'. 2015-11-09 23:12:07 +02:00
Serhiy Storchaka
c2edcdd194 Issue #13968: The glob module now supports recursive search in
subdirectories using the "**" pattern.
2014-09-11 12:17:37 +03:00
Serhiy Storchaka
6f20170762 Issue #17923: glob() patterns ending with a slash no longer match non-dirs on
AIX.  Based on patch by Delhallt.
2014-08-12 12:55:12 +03:00
Serhiy Storchaka
fd32fffa5a Issue #8402: Added the escape() function to the glob module. 2013-11-18 13:06:43 +02:00
Petri Lehtinen
914ec6f718 Issue #16695: Document how glob handles filenames starting with a dot 2013-02-23 19:56:15 +01:00
Petri Lehtinen
ee4a20bad6 Issue #16695: Document how glob handles filenames starting with a dot 2013-02-23 19:53:27 +01:00
Hynek Schlawack
6e5c8f992a #16618: Make glob.glob match consistently across strings and bytes
Fixes handling of leading dots.

Patch by Serhiy Storchaka.
2012-12-27 10:20:38 +01:00
Hynek Schlawack
e26568f812 #16618: Make glob.glob match consistently across strings and bytes
Fixes handling of leading dots.

Patch by Serhiy Storchaka.
2012-12-27 10:10:11 +01:00
Andrew Svetlov
ad28c7f9da Issue #16706: get rid of os.error 2012-12-18 22:02:39 +02:00
Antoine Pitrou
feb318a37a Issue #16696: fix comparison between bytes and string. Also, improve glob tests. 2012-12-16 16:03:57 +01:00
Antoine Pitrou
5461558d1a Issue #16696: fix comparison between bytes and string. Also, improve glob tests. 2012-12-16 16:03:01 +01:00
Antoine Pitrou
39a6ee20ac Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.
2012-12-16 13:54:14 +01:00
Antoine Pitrou
3d068b2ecf Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.
2012-12-16 13:49:37 +01:00
Tim Golden
9b3fb0c6a0 Backed out changeset dafca4714298 2012-11-06 15:33:30 +00:00
Tim Golden
8f323d9aca issue9584: Add {} list expansion to glob. Original patch by Mathieu Bridon 2012-11-06 13:50:42 +00:00
Philip Jenvey
4993cc0a5b utilize yield from 2012-10-01 12:53:43 -07:00
Senthil Kumaran
7079240c4a Fix closes issue12432 - remove the unused sys from glob.py 2011-07-03 17:21:05 -07:00