Files
loongoffice/external/python3
Caolán McNamara 303ed9a964 python exits on initialization if fd 0 is a dir
which can happen if stdin was closed and the next
open was of a dir.

Later python checks for is_valid_fd, but an invalid fd
is not fatal for stdin, etc and it just return an empty
stdin wrapper, so move this check lower and do the same
for a dir.

Change-Id: Iaf8a48927b49408577ae7a781dfc6e0255a940cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165327
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-28 09:41:54 +01:00
..

CPython implementation of Python 3 from http://www.python.org