Message339828
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? |
|
Date |
User |
Action |
Args |
2019-04-10 07:24:54 | beruhan | set | recipients:
+ beruhan, gvanrossum, Alex.Willmer, levkivskyi |
2019-04-10 07:24:54 | beruhan | set | messageid: <1554881094.13.0.241658399375.issue36584@roundup.psfhosted.org> |
2019-04-10 07:24:54 | beruhan | link | issue36584 messages |
2019-04-10 07:24:54 | beruhan | create | |
|