[issue36584] cython nametuple TypeError

2019-04-10 Thread beruhan
beruhan added the comment: the class definitions as follows: from typing import NamedTuple class Info(NamedTuple): service: str damage: str privilege: str info = Info("http", "no", "no") --

[issue36584] cython nametuple TypeError

2019-04-10 Thread beruhan
New submission from beruhan : 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

[issue35608] python3 multiprocessing queue deadlock when use thread and process at same time

2019-01-01 Thread beruhan
beruhan added the comment: I also tested on windows 10,it worked normally.But when I run it under ubuntu16.04,It will blocked.my python version is 3.6.5 -- ___ Python tracker <https://bugs.python.org/issue35

[issue35608] python3 multiprocessing queue deadlock when use thread and process at same time

2018-12-29 Thread beruhan
beruhan added the comment: debug message as follows: [DEBUG/MainProcess] created semlock with handle 140059486064640 [DEBUG/MainProcess] created semlock with handle 140059486060544 [DEBUG/MainProcess] created semlock with handle 140059486056448 [DEBUG/MainProcess] Queue._after_fork() [DEBUG