Skip to content

Commit fb5d800

Browse files
committed
:@
1 parent 133ec9f commit fb5d800

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Modules/_ssl.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6847,6 +6847,11 @@ py_ht_errcode_to_name_create(void) {
68476847
if (value == NULL) {
68486848
goto error;
68496849
}
6850+
PyObject *prev = _Py_hashtable_get(table, key); /* borrowed */
6851+
if (prev != NULL) {
6852+
printf("oh no for: %s (%d, %d)", p->mnemonic, p->library, p->reason);
6853+
_PyObject_Dump(prev);
6854+
}
68506855
if (_Py_hashtable_set(table, key, value) < 0) {
68516856
Py_DECREF(value);
68526857
goto error;
@@ -6886,6 +6891,11 @@ py_ht_libcode_to_name_create(void) {
68866891
if (value == NULL) {
68876892
goto error;
68886893
}
6894+
PyObject *prev = _Py_hashtable_get(table, key); /* borrowed */
6895+
if (prev != NULL) {
6896+
printf("oh no: %s (%d)\n", p->library, p->code);
6897+
_PyObject_Dump(prev);
6898+
}
68896899
if (_Py_hashtable_set(table, key, value) < 0) {
68906900
Py_DECREF(value);
68916901
goto error;

0 commit comments

Comments
 (0)