2015-02-06 11:27 GMT+01:00 Armin Rigo <ar...@tunes.org>: > Hi, > > On 6 February 2015 at 11:15, Amaury Forgeot d'Arc <amaur...@gmail.com> > wrote: > > This has other implications. > > For example, sys.stdout points to an invalid file descriptor, > > and I remember that old versions of pythonw.exe used to freeze after > > printing 8192 characters. > > I'm not finding anything special done with stdout if we're > pythonw.exe. Can you be more specific? >
CPython3 has this code to set sys.stdout to None in this case: https://hg.python.org/cpython/file/v3.3.4/Python/pythonrun.c#l1083 But that's probably only for python3, python2 chose to not change anything: http://bugs.python.org/issue706263 > Otherwise I suppose the way forward is to produce pypyw.exe (by > editing rpython/translator/platform/windows.py, gen_makefile(), rule > for $(DEFAULT_TARGET), to run $(CC_LINK) twice instead of once), and > then to wait until people report issues with it. > > > A bientôt, > > Armin. > -- Amaury Forgeot d'Arc
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev