From 443a0b4614a9e705912bb3aa1ecfdbb485bf2f8d Mon Sep 17 00:00:00 2001 From: hpk Date: Fri, 2 Feb 2007 02:18:06 +0100 Subject: [PATCH] [svn r37788] guido, unless i am missing something there seem to be two problems with your making Channel's public: you didn't import it (py.__.* is not lazy) and it fails the apigen tests even after fixing it. --HG-- branch : trunk --- py/apigen/apigen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py/apigen/apigen.py b/py/apigen/apigen.py index fb6f0d406..04ffcc52c 100644 --- a/py/apigen/apigen.py +++ b/py/apigen/apigen.py @@ -16,7 +16,8 @@ def get_documentable_items(pkgdir): sys.path.insert(0, str(pkgdir.dirpath())) rootmod = __import__(pkgdir.basename) d = pkg_to_dict(rootmod) - d['execnet.Channel'] = py.__.execnet.channel.Channel + from py.__.execnet.channel import Channel + #d['execnet.Channel'] = Channel # XXX doesn't work return 'py', d def build(pkgdir, dsa, capture):