summaryrefslogtreecommitdiffstats
path: root/Lib/dospath.py
Commit message (Collapse)AuthorAgeFilesLines
* revert semantics of commonprefix to work character-by-characterSkip Montanaro2000-08-221-11/+5
|
* damn! cut-n-paste from ntpath forgot the "import re"Skip Montanaro2000-07-171-0/+1
|
* * split on / or \Skip Montanaro2000-07-171-6/+3
| | | | * case insensitive
* fixed semantics of commonprefix to work by path elements instead ofSkip Montanaro2000-07-121-5/+13
| | | | characters.
* getatime() returned the mtime instead of the atime.Guido van Rossum2000-07-011-1/+1
| | | | Similar to an old bug in ntpath.py.
* Actually, the previous batch's comment should have been different;Guido van Rossum2000-02-041-1/+1
| | | | | | | | | | *this* set of patches is Ka-Ping's final sweep: The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* More trivial comment -> docstring transformations by Ka-Ping Yee,Guido van Rossum2000-02-041-231/+227
| | | | | | | | | | | | | | | | | | who writes: Here is batch 2, as a big collection of CVS context diffs. Along with moving comments into docstrings, i've added a couple of missing docstrings and attempted to make sure more module docstrings begin with a one-line summary. I did not add docstrings to the methods in profile.py for fear of upsetting any careful optimizations there, though i did move class documentation into class docstrings. The convention i'm using is to leave credits/version/copyright type of stuff in # comments, and move the rest of the descriptive stuff about module usage into module docstrings. Hope this is okay.
* New code for split() by Tim Peters, behaves more like posixpath.split().Guido van Rossum1999-03-191-21/+13
|
* Add abspath()Guido van Rossum1999-01-291-0/+7
|
* Added getsize(), getmtime(), getatime()Guido van Rossum1998-07-241-0/+18
|
* REMOVE samefile(), sameopenfile(), samestat() -- these cannot be madeGuido van Rossum1998-05-021-26/+0
| | | | to work reliably (at least I wouldn't know how).
* Faster implementation of normcase (using string.lower(Guido van Rossum1998-02-191-8/+2
| | | | | | | string.replace(...)) instead of a for loop). Don't call normcase() in normpath() -- the filesystem just might be case preserving...
* islink() returns false, but there is no constant false! Return 0 instead.Guido van Rossum1997-11-041-1/+1
|
* Fix join to support multiple arguments.Guido van Rossum1997-10-071-9/+12
| | | | (Why isn't this file identical to ntpath.py?)
* redefined normcase()Guido van Rossum1995-08-101-14/+5
|
* dospath: fix by Amrit (don't normalize glob patterns away)Guido van Rossum1994-05-231-1/+7
| | | | ftplib: get rid of non-auto port assignment
* aifc, sunau: make rate an int; os: restruct; ospath: obsolete; rfc822:Guido van Rossum1994-02-151-0/+348
date and addr parsing; string: force result of atof to float and support atoi, atol, atof in strop; tzparcs: don't call test().