lablup / backend.ai-kernels

Repository of Backend.AI-enabled container recipes
https://www.backend.ai
GNU Lesser General Public License v3.0
32 stars 14 forks source link

Limit stdin functions (e.g., input) in request-reply kernels #27

Closed achimnol closed 7 years ago

achimnol commented 7 years ago

Some users have tried input() in Python kernels during code-golf sessions at conferences. In such case they saw "unexpected" timeouts because most request-reply based kernels cannot handle user inputs.

Until we have a nice user-input handling in the front-ends, we need to explicitly disable them and show error messages to the user.

achimnol commented 7 years ago

Resolved along with #30. Some languages does not provide direct access to stdin file descriptors, we just keep them as-is.