Staging
v0.5.1
https://github.com/python/cpython
Revision 753422f6e32e13d96319b090788f0474f1e21fc4 authored by Mariatta on 10 June 2017, 03:36:28 UTC, committed by GitHub on 10 June 2017, 03:36:28 UTC
contextlib.AbstractContextManager now supports anti-registration
by setting __enter__ = None or __exit__ = None, following the pattern
introduced in bpo-25958..
(cherry picked from commit 57161aac5eb9bcb0b43e551a1937ff0a84c1ec52)
1 parent e380c19
Raw File
Tip revision: 753422f6e32e13d96319b090788f0474f1e21fc4 authored by Mariatta on 10 June 2017, 03:36:28 UTC
bpo-30266: support "= None" pattern in AbstractContextManager (GH-1448) (GH-2054)
Tip revision: 753422f
prepare_ssl.bat
@echo off
if not defined HOST_PYTHON (
  if "%1" EQU "Debug" (
    shift
    set HOST_PYTHON=python_d.exe
    if not exist python36_d.dll exit 1
  ) ELSE (
    set HOST_PYTHON=python.exe
    if not exist python36.dll exit 1
  )
)
%HOST_PYTHON% "%~dp0prepare_ssl.py" %1
back to top