Commit Graph

23 Commits

Author SHA1 Message Date
Guido van Rossum 2bc1f8f07e Added getsize(), getmtime(), getatime() 1998-07-24 20:49:26 +00:00
Guido van Rossum 346f7af8ff Added doc strings and reindented according to new standard, without tabs.
(Like ntpath.py, this was contributed by "Charles G. Waldman" <cgw@pgt.com>)
1997-12-05 19:04:51 +00:00
Guido van Rossum 9694fcab53 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
Barry Warsaw 384d249006 join(): join one or more path components 1997-02-18 21:53:25 +00:00
Guido van Rossum 422869a75c Correct description of splitext(). 1996-08-20 20:24:17 +00:00
Guido van Rossum d3876d33d3 Renamed all occurrences of posix to os. 1996-07-23 03:47:28 +00:00
Guido van Rossum bbb4e10e91 Subtlety: ~root/a should expand to /a, not //a. Everything else unchanged. 1996-04-02 22:30:03 +00:00
Guido van Rossum a89b1bade5 rationalized os.path.split() so split "/a/" yields "/a", "" 1995-09-01 20:32:21 +00:00
Guido van Rossum 221df24940 add splitdrive() 1995-08-07 20:17:55 +00:00
Sjoerd Mullender 4359860517 Let extensions start at the last period after the last slash in the
name.
1994-12-14 15:29:17 +00:00
Guido van Rossum b6775db241 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
Guido van Rossum df5638662d * posixpath.py: Fix border cases in normpath ('/foo/..' should return '/')
* ftplib.py: made cwd() use 'CDUP' when dirname is '..'
* FL.py: added new constant FL_PLACE_FULLSCREEN
1993-07-06 15:19:36 +00:00
Guido van Rossum c629d34c4f * change default line numbers for 'list' in pdb.py
* changed eval() into getattr() in cmd.py
* added dirname(), basename() and (dummy) normath() to macpath.py
* renamed nntp.py to nntplib.py
* Made string.index() compatible with strop.index()
* Make string.atoi('') raise string.atoi_error rather than ValueError
* Added dirname() and normpath() to posixpath.
1992-11-05 10:43:02 +00:00
Guido van Rossum 4732ccf642 Added emacs.py (for misc/py-connect.el).
posixpath.py: added undocumented expanndvars() (expands $VAR in string).
1992-08-09 13:54:50 +00:00
Guido van Rossum 509d24aac3 fix a typo in samestat() (ST_DEV, not STD_DEV);
rewrite ismount() to compare stats of path and path/..
1992-05-06 11:36:49 +00:00
Guido van Rossum 2684738d2f Renamed to posixpath; changed def'n of split(). 1992-03-31 18:54:35 +00:00
Guido van Rossum 7ac4878773 Make nicer comments.
Added expanduser() and normcase() and isabs() and isfile().
1992-01-14 18:29:32 +00:00
Guido van Rossum bdfcfccbe5 New == syntax 1992-01-01 19:35:13 +00:00
Guido van Rossum 470e7617a9 Use AttributeError. 1991-12-26 13:05:43 +00:00
Guido van Rossum d3778f9f60 Added samefile() function. 1991-11-12 15:37:40 +00:00
Guido van Rossum 4d0fdc34d1 path.cat --> join
Added splitext
1991-08-16 13:27:58 +00:00
Guido van Rossum 40d9304d66 Use 'stat' module instead of hardcoding information from <sys/stat.h>. 1990-10-21 16:17:34 +00:00
Guido van Rossum c636014c43 Initial revision 1990-10-13 19:23:40 +00:00