Skip to content

Commit 23ab3e7

Browse files
author
Adam Hrbac
committed
Implement _PyUnicode_EqualToASCIIId
Required for the stringprep module, which is used at some point in flask or pytest
1 parent 3fe86a4 commit 23ab3e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

graalpython/com.oracle.graal.python.cext/src/unicodeobject.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,3 +701,6 @@ PyUnicode_DecodeLatin1(const char *s,
701701
return _PyUnicode_FromUCS1((const unsigned char*)s, size);
702702
}
703703

704+
int _PyUnicode_EqualToASCIIId(PyObject *left, _Py_Identifier *right) {
705+
return _PyUnicode_EqualToASCIIString(left, right->string);
706+
}

0 commit comments

Comments
 (0)