Skip to content

Print statements from compiled code and interpreter can interleave. #430

@braxtonmckee

Description

@braxtonmckee

When you 'print' in the interpeter you write into a buffered stdout model in sys.stdout. When you print in compiled code we write directly to the operating system. If you mix compiled and interpreted code your print statements can get out of order, which is hard to make sense of.

Not clear how to solve this, since we don't want compiled print to have to lock the GIL to interact with sys.stdout...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions