bpo-33468: Add try-finally contextlib.contextmanager example by Carreau · Pull Request #7816 · python/cpython

taleinat

taleinat

@Carreau

This increase the chances of people following this example properly
cleaning up resources.

@taleinat

taleinat

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jul 23, 2018
…H-7816)

(cherry picked from commit bde782b)

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jul 23, 2018
…H-7816)

(cherry picked from commit bde782b)

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>

taleinat pushed a commit to taleinat/cpython that referenced this pull request

Jul 23, 2018
…ythonGH-7816).

(cherry picked from commit bde782b)

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>

taleinat pushed a commit that referenced this pull request

Jul 23, 2018
GH-8425)

(cherry picked from commit bde782b)

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>

taleinat pushed a commit that referenced this pull request

Jul 23, 2018
GH-8426)

(cherry picked from commit bde782b)

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>

taleinat added a commit that referenced this pull request

Jul 23, 2018
…H-7816) (GH-8427)

(cherry picked from commit bde782b)

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>