Re: Bug in auto-generated function arg list

Robin Dunn <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Filed at https://github.com/wxWidgets/Phoenix/issues/459

Robin

On Tuesday, August 8, 2017 at 11:19:07 AM UTC-7, Eric Fahlgren wrote:
>
> ​Just ran into a bug in a deprecated function, line 2347 core.py from 
> wxPython-4.0.0b2.dev3256+71cb7d6-cp27-cp27m-win_amd64.whl
>
> NameError: global name 'self' is not defined
>
> def _VScrolledWindow_HitTest(*args):
>     """
>     Deprecated compatibility helper.
>     """
>     if len(args) == 2:
>         x, y = args
>         return *self*.VirtualHitTest(y)
>     else:
>         pt = args[0]
>         return *self*.VirtualHitTest(pt[1])​
>
> For some reason I'm not seeing the deprecation messages, or I'd probably 
> have cleaned that up and not seen this.
>

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.