summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libglob.tex
Commit message (Collapse)AuthorAgeFilesLines
* Delete the LaTeX doc tree.Georg Brandl2007-08-151-51/+0
|
* Patch #943206:Johannes Gijsbers2005-01-081-1/+7
| | | | | | | | | | | | | | | | `glob.glob()` currently calls itself recursively to build a list of matches of the dirname part of the pattern and then filters by the basename part. This is effectively BFS. ``glob.glob('*/*/*/*/*/foo')`` will build a huge list of all directories 5 levels deep even if only a handful of them contain a ``foo`` entry. A generator-based recusion would never have to store these list at once by implementing DFS. This patch converts the `glob` function to an `iglob` recursive generator . `glob()` now just returns ``list(iglob(pattern))``. I also cleaned up the code a bit (reduced duplicate `has_magic()` checks and created a second `glob0` helper func so that the main loop need not be duplicated). Thanks to Cherniavsky Beni for the patch!
* Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists ↵Johannes Gijsbers2004-08-301-0/+1
| | | | in glob.glob.
* Work around annoyances in LaTeX2HTML.Fred Drake2000-10-091-1/+1
|
* Fixed minor nits, added index entries to make these easier to find for peopleFred Drake1999-03-161-3/+9
| | | | not familiar with Unix terminology.
* New section header style.Fred Drake1998-08-101-1/+2
| | | | Fix up a few synopses.
* Adjusted to use the new module synopsis support macros.Fred Drake1998-07-231-2/+4
|
* Don't assume that \version expands to the 3-character major.minor number; itFred Drake1998-04-091-1/+1
| | | | is the full release version name ("1.5.1beta1", for instance).
* Remove all uses of \sectcode; we can now use logical markup everywhere.Fred Drake1998-04-041-1/+1
|
* Consistency: Don't use module name when referring to functions definedFred Drake1998-04-031-2/+1
| | | | in the same module.
* In the example file name, use the current Python version, not a hardcodedFred Drake1998-02-161-7/+7
| | | | | | value. Use logical markup.
* Remove all \bcode / \ecode cruft; this is no longer needed. See previousFred Drake1998-02-131-3/+3
| | | | | | | | | checkin of myformat.sty. Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}" everywhere. Some other minor nits that I happened to come across.
* Changed some \verb\...\ markup to the more common \code{...}. \verb\...\ isFred Drake1997-12-291-2/+2
| | | | | rarely needed and should be avoided where possible since it doesn't behave well with some processing tools (like partparse.py).
* AMK's megapatch:Guido van Rossum1997-07-171-2/+3
| | | | | | | * \bcode, \ecode added everywhere * \label{module-foo} added everywhere * A few \seealso sections added. * Indentation fixed inside verbatim in lib*tex files
* Added docs for globGuido van Rossum1997-03-251-0/+35