mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
#16135: Removal of OS/2 support (Remove OS2 and OS/2 references)
This commit is contained in:
parent
080a2c087e
commit
f1af705720
18 changed files with 14 additions and 878 deletions
|
@ -30,9 +30,6 @@ altsep = '/'
|
|||
defpath = '.;C:\\bin'
|
||||
if 'ce' in sys.builtin_module_names:
|
||||
defpath = '\\Windows'
|
||||
elif 'os2' in sys.builtin_module_names:
|
||||
# OS/2 w/ VACPP
|
||||
altsep = '/'
|
||||
devnull = 'nul'
|
||||
|
||||
def _get_empty(path):
|
||||
|
@ -320,8 +317,7 @@ def dirname(p):
|
|||
|
||||
def islink(path):
|
||||
"""Test whether a path is a symbolic link.
|
||||
This will always return false for Windows prior to 6.0
|
||||
and for OS/2.
|
||||
This will always return false for Windows prior to 6.0.
|
||||
"""
|
||||
try:
|
||||
st = os.lstat(path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue