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 beruhan
Recipients Alex.Willmer, beruhan, gvanrossum, levkivskyi
Date 2019-04-10.07:24:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554881094.13.0.241658399375.issue36584@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2019-04-10 07:24:54beruhansetrecipients: + beruhan, gvanrossum, Alex.Willmer, levkivskyi
2019-04-10 07:24:54beruhansetmessageid: <1554881094.13.0.241658399375.issue36584@roundup.psfhosted.org>
2019-04-10 07:24:54beruhanlinkissue36584 messages
2019-04-10 07:24:54beruhancreate