Changeset: d5a0b59c6fcf for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d5a0b59c6fcf
Modified Files:
        sql/backends/monet5/UDF/pyapi3/connection3.c
Branch: Jun2020
Log Message:

Note to self: save buffer before committing.


diffs (15 lines):

diff --git a/sql/backends/monet5/UDF/pyapi3/connection3.c 
b/sql/backends/monet5/UDF/pyapi3/connection3.c
--- a/sql/backends/monet5/UDF/pyapi3/connection3.c
+++ b/sql/backends/monet5/UDF/pyapi3/connection3.c
@@ -119,11 +119,6 @@ static PyMethodDef _connectionObject_met
 };
 
 PyTypeObject Py_ConnectionType = {
-       _PyObject_EXTRA_INIT
-// in python3 they use structs within structs to represent this information, 
and
-// many compilers throw warnings if you don't use separate braces
-// to initialize these separate structs. However, in Python2, they use #defines
-// to put this information in, so we have these nice #ifdefs
        .ob_base.ob_base.ob_refcnt = 1,
        .tp_name = "monetdb._connection",
        .tp_basicsize = sizeof(Py_ConnectionObject),
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to