Skip to content

Commit e2da905

Browse files
committed
patch sysconfig._init_posix until the relevant constants can be loaded from their appropriate locations
1 parent 5faea85 commit e2da905

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

graalpython/lib-python/3/sysconfig.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,11 @@ def _generate_posix_vars():
428428

429429
def _init_posix(vars):
430430
"""Initialize the module as appropriate for POSIX systems."""
431-
name = _get_sysconfigdata_name()
432-
_temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
433-
build_time_vars = _temp.build_time_vars
434-
vars.update(build_time_vars)
431+
# TODO: reneable me once we know what goes on in here
432+
# name = _get_sysconfigdata_name()
433+
# _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
434+
# build_time_vars = _temp.build_time_vars
435+
# vars.update(build_time_vars)
435436

436437
def _init_non_posix(vars):
437438
"""Initialize the module as appropriate for NT"""

0 commit comments

Comments
 (0)