mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
parent
a045f191b4
commit
94f25283c9
20 changed files with 52 additions and 196 deletions
|
@ -50,13 +50,6 @@ import struct
|
|||
import copy
|
||||
import re
|
||||
|
||||
if sys.platform == 'mac':
|
||||
# This module needs work for MacOS9, especially in the area of pathname
|
||||
# handling. In many places it is assumed a simple substitution of / by the
|
||||
# local os.path.sep is good enough to convert pathnames, but this does not
|
||||
# work with the mac rooted:path:name versus :nonrooted:path:name syntax
|
||||
raise ImportError("tarfile does not work for platform==mac")
|
||||
|
||||
try:
|
||||
import grp, pwd
|
||||
except ImportError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue