Staging
v0.5.1
https://github.com/python/cpython
Revision d3ae95e1e945ed20297e1c38ba43a18b7a868ab6 authored by Alex Rebert on 22 January 2020, 23:28:31 UTC, committed by Gregory P. Smith on 22 January 2020, 23:28:31 UTC
When communicate() is called in a loop, it crashes when the child process
has already closed any piped standard stream, but still continues to be running

Co-authored-by: Andriy Maletsky <andriy.maletsky@gmail.com>
1 parent 1f0f102
Raw File
Tip revision: d3ae95e1e945ed20297e1c38ba43a18b7a868ab6 authored by Alex Rebert on 22 January 2020, 23:28:31 UTC
bpo-35182: fix communicate() crash after child closes its pipes (GH-17020) (GH-18117)
Tip revision: d3ae95e
posix-deps-apt.sh
#!/bin/sh
apt-get update

apt-get -yq install \
    build-essential \
    zlib1g-dev \
    libbz2-dev \
    liblzma-dev \
    libncurses5-dev \
    libreadline6-dev \
    libsqlite3-dev \
    libssl-dev \
    libgdbm-dev \
    tk-dev \
    lzma \
    lzma-dev \
    liblzma-dev \
    libffi-dev \
    uuid-dev \
    xvfb

if [ ! -z "$1" ]
then
  echo ##vso[task.prependpath]$PWD/multissl/openssl/$1
  echo ##vso[task.setvariable variable=OPENSSL_DIR]$PWD/multissl/openssl/$1
  python3 Tools/ssl/multissltests.py --steps=library --base-directory $PWD/multissl --openssl $1 --system Linux
fi
back to top