oracle / graalpython

A Python 3 implementation built on GraalVM
Other
1.17k stars 101 forks source link

flush() never called in standard output stream specified for the context #379

Closed nsoubelet closed 1 month ago

nsoubelet commented 5 months ago

Version: org.graalvm.python:python-language:23.1.0

Hello, just wanted to report something really simple: when an output stream is specified via Context.newBuilder().out(Some) the method flush() is never called when, for example, doing a print('Hello Python!');.

It works well in other languages, like js.

Not sure whether this is an error or it does work like that by design.

Thanks