##// END OF EJS Templates
dispatch: do not close stdout and stderr, just flush() instead...
dispatch: do not close stdout and stderr, just flush() instead Since 3a4c0905f357 "util: always force line buffered stdout when stdout is a tty", we have two file objects attached to the same STDOUT_FILENO. If one is closed, the underlying file descriptor is also closed, and writing to the other file object would crash the Python interpreter in a hard way, at least on Windows. So, it seems safer to not close the standard streams. This also matches the behavior of the default sys.stdout/stderr.close(), which never close the FILE* streams in C layer. https://hg.python.org/cpython/file/v2.7.13/Python/sysmodule.c#l1401

File last commit:

r23034:eea2e0f7 default
r32687:12941a78 default
Show More
centos5
6 lines | 263 B | text/plain | TextLexer
Mads Kiilerich
docker: use official centos5 image...
r23034 FROM centos:centos5
Mads Kiilerich
docker: add CentOS 5...
r22443 RUN yum install -y gcc make rpm-build gettext tar
RUN yum install -y python-devel python-docutils
Mads Kiilerich
dockerrpm: create a yum/dnf repo from the generated rpms...
r22444 # For creating repo meta data
RUN yum install -y createrepo
Mads Kiilerich
docker: add CentOS 5...
r22443 RUN yum install -y readline-devel openssl-devel ncurses-devel zlib-devel bzip2-devel