Skip to content

Commit 0ca1527

Browse files
committed
Mark charmap_encode as not implemented
1 parent ef2a2c3 commit 0ca1527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/lib-graalpython/_codecs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,12 +310,12 @@ def ascii_decode(string, errors=None):
310310

311311
@__graalpython__.builtin
312312
def charmap_encode(string, errors=None, mapping=None):
313-
return __truffle_encode(string, "cp437", errors)
313+
raise NotImplementedError("charmap_encode")
314314

315315

316316
@__graalpython__.builtin
317317
def charmap_decode(string, errors=None, mapping=None):
318-
return __truffle_decode(string, "cp437", errors)
318+
raise NotImplementedError("charmap_decode")
319319

320320

321321
@__graalpython__.builtin

0 commit comments

Comments
 (0)