New submission from Zuzu_Typ <zuzu....@gmail.com>:
Using the C-API, the inplace_pow numbermethod is always called with the third argument pointing to an invalid address. The reason is likely that self.__ipow__ only takes one argument, resulting in a binaryfunc (self, arg), though inplace_pow is a ternaryfunc. When trying to use the third argument in any way, Python crashes. The third arg should be nonexistent, NULL or Py_None. ---------- components: Build, Extension Modules messages: 338458 nosy: Zuzu_Typ priority: normal severity: normal status: open title: nb_inplace_pow is always called with an invalid argument type: crash versions: Python 2.7, Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36379> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com