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

Yuya Nishihara yuya at tcha.org
Thu Jul 7 11:03:48 EDT 2016


On Thu, 7 Jul 2016 23:21:38 +0900, Yuya Nishihara wrote:
> On Wed, 06 Jul 2016 02:12:04 +0530, Pulkit Goyal wrote:
> > # HG changeset patch
> > # User Pulkit Goyal <7895pulkit at gmail.com>
> > # Date 1467743613 -19800
> > #      Wed Jul 06 00:03:33 2016 +0530
> > # Node ID 3862789efd2393c6ed7bfb856521d45fe17de105
> > # Parent  6a98f9408a504be455d4382801610daceac429e6
> > py3: conditionalize BaseHTTPServer, SimpleHTTPServer and CGIHTTPServer import
> 
> Queued the first patch. Thanks for updating it.

Dropped because tinyproxy.py is broken. Can you take a look?

% PYTHONPATH=`pwd` ./tests/tinyproxy.py
Any clients will be served...
Traceback (most recent call last):
  File "./tests/tinyproxy.py", line 161, in <module>
    httpserver.test(ProxyHandler, ThreadingHTTPServer)
AttributeError: '_pycompatstub' object has no attribute 'test'


More information about the Mercurial-devel mailing list