@@ -383,6 +383,9 @@ ExcessNT_create(PyObject *Py_UNUSED(module), PyObject *args, PyObject *kwds) {
383383 * Use this for numeric comparisons, e.g. #if PY_VERSION_HEX >= ...
384384 *
385385 * This is Python 3.11+ specific code.
386+ * Earlier versions give this compile time error:
387+ * E ImportError: dlopen(...cStructSequence.cpython-310-darwin.so, 0x0002): \
388+ * symbol not found in flat namespace '_PyStructSequence_UnnamedField'
386389 */
387390#if PY_VERSION_HEX >= 0x030B0000
388391
@@ -481,8 +484,10 @@ static PyMethodDef cStructSequence_methods[] = {
481484 "Example of getting a transaction." },
482485 {"ExcessNT_create" , (PyCFunction ) ExcessNT_create , METH_VARARGS | METH_KEYWORDS ,
483486 "Create a ExcessNT from the given values." },
484- /* Python 3.11 specific code. Earlier versions have a problem with:
485- * symbol not found in flat namespace '_PyStructSequence_UnnamedField'
487+ /* Python 3.11+ specific code.
488+ * Earlier versions give this compile time error:
489+ * E ImportError: dlopen(...cStructSequence.cpython-310-darwin.so, 0x0002): \
490+ * symbol not found in flat namespace '_PyStructSequence_UnnamedField'
486491 */
487492#if PY_VERSION_HEX >= 0x030B0000
488493 {"NTWithUnnamedField_create" , (PyCFunction ) NTWithUnnamedField_create , METH_VARARGS | METH_KEYWORDS ,
0 commit comments