[PATCH 2 of 2] py3: conditionalize BaseHTTPServer, SimpleHTTPServer and CGIHTTPServer import

Yuya Nishihara yuya at tcha.org
Sun Jul 17 05:08:54 EDT 2016


On Fri, 15 Jul 2016 23:02:05 +0530, Pulkit Goyal wrote:
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit at gmail.com>
> # Date 1468433309 -19800
> #      Wed Jul 13 23:38:29 2016 +0530
> # Node ID 9f7d3de1e00bb71977e58990d637ceb590993fee
> # Parent  c8da57d0799eadf41bd838c5c2e334bde0c830ae
> py3: conditionalize BaseHTTPServer, SimpleHTTPServer and CGIHTTPServer import

Queued the series, thanks.

> --- a/tests/test-check-py3-compat.t	Wed Jul 13 22:45:22 2016 +0530
> +++ b/tests/test-check-py3-compat.t	Wed Jul 13 23:38:29 2016 +0530

I've updated it by the current output of
./run-tests.py --with-python3=/usr/bin/python3 -l test-check-py3-compat.t

> --- a/tests/tinyproxy.py	Wed Jul 13 22:45:22 2016 +0530
> +++ b/tests/tinyproxy.py	Wed Jul 13 23:38:29 2016 +0530
> @@ -14,7 +14,6 @@
>  
>  __version__ = "0.2.1"
>  
> -import BaseHTTPServer
>  import argparse

You seemed to send old patch. Edited the hunk manually.


More information about the Mercurial-devel mailing list