Skip to content

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

Open

Description

@kgco

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions