This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients cstratak, eitan.adler, gregory.p.smith, martin.panter, miss-islington, pmpp, resmord, serhiy.storchaka, siddhesh, terry.reedy, vstinner, xdegaye, yan12125, ztane
Date 2019-03-05.14:58:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I marked bpo-36197 as a duplicate of this issue:

gcc -pthread -c -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration  -I./Include/internal  -I. -I./Include    -DPy_BUILD_CORE -o Objects/memoryobject.o Objects/memoryobject.c
Objects/memoryobject.c:3112:21: warning: cast between incompatible function types from 'PyObject * (*)(PyMemoryViewObject *, PyObject *, PyObject *)' {aka 'struct _object * (*)(struct <anonymous> *, struct _object *, struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Wcast-function-type]
     {"tobytes",     (PyCFunction)memory_tobytes, METH_VARARGS|METH_KEYWORDS, memory_tobytes_doc},

I am preparing a small PR for this issue.

=> PR 12179
Date User Action Args
2019-03-05 14:58:30vstinnersetrecipients: + vstinner, terry.reedy, gregory.p.smith, pmpp, xdegaye, martin.panter, serhiy.storchaka, ztane, eitan.adler, siddhesh, yan12125, cstratak, miss-islington, resmord
2019-03-05 14:58:30vstinnersetmessageid: <>
2019-03-05 14:58:30vstinnerlinkissue33012 messages
2019-03-05 14:58:30vstinnercreate