[issue26480] add a flag that will not give the set a sys.stdin

2019-05-14 Thread STINNER Victor
STINNER Victor added the comment: create_stdio() checks if the file descriptor is valid: if (!is_valid_fd(fd)) Py_RETURN_NONE; This function is_valid_fd() has been fixed recently on FreeBSD. It's unclear to me why and how Python fails to create standard streams. Without more inf

[issue26480] add a flag that will not give the set a sys.stdin

2016-03-04 Thread Brett Cannon
Changes by Brett Cannon : -- type: behavior -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue26480] add a flag that will not give the set a sys.stdin

2016-03-04 Thread yuriy_levchenko
Changes by yuriy_levchenko : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue26480] add a flag that will not give the set a sys.stdin

2016-03-04 Thread yuriy_levchenko
New submission from yuriy_levchenko: i have Fatal Error "Py_Initialize: can't initialize sys standard streams" because fail to create fd = fileno(stdin); std = create_stdio(iomod, fd, 0, "", encoding, errors); I do not need to create this input|output if i comment this code, and setup __