[New-bugs-announce] [issue26480] add a flag that will not give the set a sys.stdin

yuriy_levchenko report at bugs.python.org
Fri Mar 4 11:46:13 EST 2016


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, "<stdin>", encoding, errors);

I do not need to create this input|output

if i comment this code, and setup 

__stdin__= None
__stdout__= None
__stderr__= None

all workin fine

----------
messages: 261191
nosy: yuriy_levchenko
priority: normal
severity: normal
status: open
title: add a flag that will not give the set a sys.stdin
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26480>
_______________________________________


More information about the New-bugs-announce mailing list