Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove more DOS support. | Martin v. Löwis | 2002-10-09 | 1 | -340/+0 |
| | |||||
* | Add os.path.supports_unicode_filenames for all platforms, | Mark Hammond | 2002-10-08 | 1 | -1/+3 |
| | | | | | | sys.getwindowsversion() on Windows (new enahanced Tim-proof <wink> version), and fix test_pep277.py in a few minor ways. Including doc and NEWS entries. | ||||
* | Replaced obsolete stat module constants with equivalent attributes | Raymond Hettinger | 2002-06-01 | 1 | -8/+5 |
| | |||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -3/+3 |
| | |||||
* | Partial introduction of bools where appropriate. | Guido van Rossum | 2002-04-07 | 1 | -1/+1 |
| | |||||
* | Convert a pile of obvious "yes/no" functions to return bool. | Tim Peters | 2002-04-04 | 1 | -4/+4 |
| | |||||
* | SF bug [#469732] os.path.walk docstring inconsistent. | Tim Peters | 2001-10-10 | 1 | -7/+13 |
| | | | | | We have 5 implementations of walk(), and 5 different docstrings. Combined 'em. Let's see how long it takes before they're all different again! | ||||
* | SF patch #461781 by Chris Lawrence: os.path.realpath - Resolve symlinks: | Guido van Rossum | 2001-09-17 | 1 | -0/+3 |
| | | | | | | | | | | | | | | Once upon a time, I put together a little function that tries to find the canonical filename for a given pathname on POSIX. I've finally gotten around to turning it into a proper patch with documentation. On non-POSIX, I made it an alias for 'abspath', as that's the behavior on POSIX when no symlinks are encountered in the path. Example: >>> os.path.realpath('/usr/bin/X11/X') '/usr/X11R6/bin/X' | ||||
* | Use string.ascii_letters instead of string.letters (SF bug #226706). | Fred Drake | 2001-07-20 | 1 | -1/+1 |
| | |||||
* | more __all__ updates | Skip Montanaro | 2001-01-20 | 1 | -0/+4 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-01-14 | 1 | -2/+2 |
| | |||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -3/+3 |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | ||||
* | Avoid import of string module; it is only needed for expandvars(). | Fred Drake | 2000-09-28 | 1 | -19/+18 |
| | | | | | | Never assume that os.sep is for the module-specific platform; use the right separator character directly. Fix some minor style consistency nits. | ||||
* | Treat trailing colon in os.path.join("a:", "b") same way for DOS as in | Tim Peters | 2000-09-19 | 1 | -1/+1 |
| | | | | | recent changes to ntpath.py and posixmodule.c. Thanks to Guido for pointing out the inconsistency! | ||||
* | revert semantics of commonprefix to work character-by-character | Skip Montanaro | 2000-08-22 | 1 | -11/+5 |
| | |||||
* | damn! cut-n-paste from ntpath forgot the "import re" | Skip Montanaro | 2000-07-17 | 1 | -0/+1 |
| | |||||
* | * split on / or \ | Skip Montanaro | 2000-07-17 | 1 | -6/+3 |
| | | | | * case insensitive | ||||
* | fixed semantics of commonprefix to work by path elements instead of | Skip Montanaro | 2000-07-12 | 1 | -5/+13 |
| | | | | characters. | ||||
* | getatime() returned the mtime instead of the atime. | Guido van Rossum | 2000-07-01 | 1 | -1/+1 |
| | | | | Similar to an old bug in ntpath.py. | ||||
* | Actually, the previous batch's comment should have been different; | Guido van Rossum | 2000-02-04 | 1 | -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 Rossum | 2000-02-04 | 1 | -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 Rossum | 1999-03-19 | 1 | -21/+13 |
| | |||||
* | Add abspath() | Guido van Rossum | 1999-01-29 | 1 | -0/+7 |
| | |||||
* | Added getsize(), getmtime(), getatime() | Guido van Rossum | 1998-07-24 | 1 | -0/+18 |
| | |||||
* | REMOVE samefile(), sameopenfile(), samestat() -- these cannot be made | Guido van Rossum | 1998-05-02 | 1 | -26/+0 |
| | | | | to work reliably (at least I wouldn't know how). | ||||
* | Faster implementation of normcase (using string.lower( | Guido van Rossum | 1998-02-19 | 1 | -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 Rossum | 1997-11-04 | 1 | -1/+1 |
| | |||||
* | Fix join to support multiple arguments. | Guido van Rossum | 1997-10-07 | 1 | -9/+12 |
| | | | | (Why isn't this file identical to ntpath.py?) | ||||
* | redefined normcase() | Guido van Rossum | 1995-08-10 | 1 | -14/+5 |
| | |||||
* | dospath: fix by Amrit (don't normalize glob patterns away) | Guido van Rossum | 1994-05-23 | 1 | -1/+7 |
| | | | | ftplib: get rid of non-auto port assignment | ||||
* | aifc, sunau: make rate an int; os: restruct; ospath: obsolete; rfc822: | Guido van Rossum | 1994-02-15 | 1 | -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(). |