ohhh, okay. ya, that's annoying. basically have to mixing ``object``?


On Sun, Nov 24, 2013 at 2:29 PM, Jai Ram Rideout
<notifications@github.com>wrote:

> In pyqi/core/interfaces/HTMLInterface/__init__.py:
>
> > +                            cmd_cfg.inputs, cmd_cfg.outputs,
> > +                            cmd_cfg.__version__)
> > +    cmd_obj = cmd_class()
> > +    #The interface needs to know what command it is
> > +    cmd_obj._set_command(cmd)
> > +    return cmd_obj
> > +
> > +def HTMLInterfaceHTTPHandler_factory(module):
> > +    """Return a subclassed BaseHTTPRequestHandler with module in scope."""
> > +
> > +    module_commands = get_command_names(module)
> > +
> > +    class HTMLInterfaceHTTPHandler(BaseHTTPRequestHandler):
> > +        """Handle incoming HTTP requests"""
> > +
> > +        _unrouted = True;
>
> Ah, looks like BaseHTTPRequestHandler is an old-style class (that's a
> shame). I guess there's nothing we can do from our end.
>
> It sounds like you found a workaround, but here's a SO post with a couple
> of solutions in case you're interested:
>
> http://stackoverflow.com/a/6634912
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/bipy/pyqi/pull/203/files#r7880318>
> .
>