Skip to content

Commit 71ea85a

Browse files
committed
add maintenance comment
1 parent a9dae22 commit 71ea85a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Modules/_hashopenssl.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,6 +1251,9 @@ _hashlib_HASH(_hashlibstate *state, const char *digestname, PyObject *data_obj,
12511251
return (PyObject *)self;
12521252
}
12531253

1254+
// In Python 3.19, we can remove the "STRING" argument and would also be able
1255+
// to remove the macro (or keep it as an alias for better naming) since calls
1256+
// to _hashlib_HASH_new_impl() would fit on 80 characters.
12541257
#define CALL_HASHLIB_NEW(MODULE, NAME, DATA, STRING, USEDFORSECURITY) \
12551258
return _hashlib_HASH_new_impl(MODULE, NAME, DATA, USEDFORSECURITY, STRING)
12561259

0 commit comments

Comments
 (0)