Skip to content

Commit eb56e19

Browse files
committed
comment some code that doesn't work on darwin currently
1 parent 7882969 commit eb56e19

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

graalpython/lib-python/3/platform.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,10 @@ def _mac_ver_xml():
555555
except ImportError:
556556
return None
557557

558-
with open(fn, 'rb') as f:
559-
pl = plistlib.load(f)
558+
# this would require xml parsing
559+
# with open(fn, 'rb') as f:
560+
# pl = plistlib.load(f)
561+
pl = {'ProductVersion': '10.14.1'}
560562
release = pl['ProductVersion']
561563
versioninfo = ('', '', '')
562564
machine = os.uname().machine

graalpython/lib-python/3/urllib/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2581,7 +2581,7 @@ def ip2num(ipAddr):
25812581
return False
25822582

25832583

2584-
if sys.platform == 'darwin':
2584+
if sys.platform == 'darwin' and False: # changed: use default path in darwin
25852585
from _scproxy import _get_proxy_settings, _get_proxies
25862586

25872587
def proxy_bypass_macosx_sysconf(host):

0 commit comments

Comments
 (0)