Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否应该取消print语句,直接print对多进程很不友好 #97

Open
kgco opened this issue Jan 21, 2020 · 0 comments
Open

是否应该取消print语句,直接print对多进程很不友好 #97

kgco opened this issue Jan 21, 2020 · 0 comments

Comments

@kgco
Copy link

kgco commented Jan 21, 2020

很多print语句都是直接写死在代码里的,这样如果多进程并行处理又没有加锁很容易出现抢占打印设备的问题,至少应该在API里给一个print_info=False这样的参数,或者直接写进log文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant