Author vstinner
Recipients Aaron Hall, benjamin.peterson, eric.snow, mark.dickinson, miss-islington, pablogsal, serhiy.storchaka, steve.dower, thatiparthy, vstinner
Date 2018-11-23.22:18:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CA+3bQGEq601+uEkXa2e9Seg-0P-Kv3Bprknb31X_o9+Zu5Q58w@mail.gmail.com>
In-reply-to <1542997210.25.0.788709270274.issue35059@psf.upfronthosting.co.za>
Content
> Could we have used function overloading to handle the different types?
Rather than reintroducing the macro for the sake of the cast?

Sorry, I don't know what is function overloading. Is it a C++ thing?
Py_INCREF() must accept any type based on PyObject.

At least, this issue shouldn't make the situation worse :-)

Please open a new issue if you have a solution for this problem. I am now
curious since I tried many things and I failed to find anything working for
all cases.
History
Date User Action Args
2018-11-23 22:18:08vstinnersetrecipients: + vstinner, mark.dickinson, benjamin.peterson, eric.snow, serhiy.storchaka, steve.dower, thatiparthy, Aaron Hall, pablogsal, miss-islington
2018-11-23 22:18:08vstinnerlinkissue35059 messages
2018-11-23 22:18:08vstinnercreate