Skip to content

Commit 9412262

Browse files
committed
skip winapi call
1 parent f80d3d1 commit 9412262

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graalpython/lib-python/3/encodings/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ def search_function(encoding):
159159
def _alias_mbcs(encoding):
160160
try:
161161
import _winapi
162+
return None # Truffle change: we don't support this method yet
162163
ansi_code_page = "cp%s" % _winapi.GetACP()
163164
if encoding == ansi_code_page:
164165
import encodings.mbcs

0 commit comments

Comments
 (0)