summaryrefslogtreecommitdiffstats
path: root/Lib/platform.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-05 20:00:55 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-05 20:00:55 (GMT)
commitd348b2587e01f76a30c07bfa248653bb6b60142f (patch)
treeea021bed326b54dbfa1de7765ea9ab36d9e74653 /Lib/platform.py
parent84df79b2499a051ee2ca09c38db6b4af1d49e14a (diff)
downloadcpython-d348b2587e01f76a30c07bfa248653bb6b60142f.zip
cpython-d348b2587e01f76a30c07bfa248653bb6b60142f.tar.gz
cpython-d348b2587e01f76a30c07bfa248653bb6b60142f.tar.bz2
Remove several mentions of old Python versions that don't apply anymore.
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-xLib/platform.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/Lib/platform.py b/Lib/platform.py
index 3a4eaaf..3d1997c 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -12,8 +12,6 @@
# If you find problems, please submit bug reports/patches via the
# Python SourceForge Project Page and assign them to "lemburg".
#
-# Note: Please keep this module compatible to Python 1.5.2.
-#
# Still needed:
# * more support for WinCE
# * support for MS-DOS (PythonDX ?)
@@ -857,22 +855,6 @@ def _node(default=''):
# Still not working...
return default
-# os.path.abspath is new in Python 1.5.2:
-if not hasattr(os.path,'abspath'):
-
- def _abspath(path,
-
- isabs=os.path.isabs,join=os.path.join,getcwd=os.getcwd,
- normpath=os.path.normpath):
-
- if not isabs(path):
- path = join(getcwd(), path)
- return normpath(path)
-
-else:
-
- _abspath = os.path.abspath
-
def _follow_symlinks(filepath):
""" In case filepath is a symlink, follow it until a