New submission from beruhan <baiwenpin...@gmail.com>:
I have a class that inherits from NamedTuple,I have compile it to pyd file on windows use cython,when I import the class and create a object in another py file,It throws error 'TypeError: __new__() takes 1 positional argument but 4 were given' when I don't compile it to pyd,It can use normally,How to deal with it? ---------- components: Cross-Build messages: 339828 nosy: Alex.Willmer, beruhan, gvanrossum, levkivskyi priority: normal severity: normal status: open title: cython nametuple TypeError type: behavior versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36584> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com