Re: [Python-Dev] __signature__ for PySide ready

2017-08-19 Thread Nick Coghlan
On 19 August 2017 at 18:38, Christian Tismer wrote: > On 19.08.17 09:37, Nick Coghlan wrote: >> Either way, the answer to Christian's original question is that "Yes, >> supporting __signature__ is also useful in Python 2.x", as even though >> the native inspect module doesn't support it, 3rd party

Re: [Python-Dev] __signature__ for PySide ready

2017-08-19 Thread Christian Tismer
Hi Brett, On 18.08.17 18:31, Brett Cannon wrote: > > > On Fri, 18 Aug 2017 at 02:05 Christian Tismer > wrote: > ... > Is it a bad idea to support signatures in Python 2 as well? > Do I introduce a feature that should not exist in Python 2? > Or is it f

Re: [Python-Dev] __signature__ for PySide ready

2017-08-19 Thread Christian Tismer
Hi Nick, On 19.08.17 09:37, Nick Coghlan wrote: > On 19 August 2017 at 02:55, Jelle Zijlstra wrote: >> 2017-08-18 18:20 GMT+02:00 Yury Selivanov : >>> There's a backport of signature API to Python 2. Although last time I >>> checked it was fairly outdated. >>> >> I wrote a backport earlier this

Re: [Python-Dev] __signature__ for PySide ready

2017-08-19 Thread Nick Coghlan
On 19 August 2017 at 02:55, Jelle Zijlstra wrote: > 2017-08-18 18:20 GMT+02:00 Yury Selivanov : >> There's a backport of signature API to Python 2. Although last time I >> checked it was fairly outdated. >> > I wrote a backport earlier this year: https://pypi.python.org/pypi/inspect2. Nice. Yur

Re: [Python-Dev] __signature__ for PySide ready

2017-08-18 Thread Jelle Zijlstra
2017-08-18 18:20 GMT+02:00 Yury Selivanov : > Hi Christian, > > On Fri, Aug 18, 2017 at 4:41 AM, Christian Tismer > wrote: > > Hi friends, > > > > in the last months, I have developed signature support for > > PySide. The module creates the same signatures as are known > > for plain Python functi

Re: [Python-Dev] __signature__ for PySide ready

2017-08-18 Thread Brett Cannon
On Fri, 18 Aug 2017 at 02:05 Christian Tismer wrote: > Hi friends, > > in the last months, I have developed signature support for > PySide. The module creates the same signatures as are known > for plain Python functions. > > As a non-trivial addition, the module also handles multiple > signature

Re: [Python-Dev] __signature__ for PySide ready

2017-08-18 Thread Yury Selivanov
Hi Christian, On Fri, Aug 18, 2017 at 4:41 AM, Christian Tismer wrote: > Hi friends, > > in the last months, I have developed signature support for > PySide. The module creates the same signatures as are known > for plain Python functions. > > As a non-trivial addition, the module also handles mu

[Python-Dev] __signature__ for PySide ready

2017-08-18 Thread Christian Tismer
Hi friends, in the last months, I have developed signature support for PySide. The module creates the same signatures as are known for plain Python functions. As a non-trivial addition, the module also handles multiple signatures as a list. I consider this extension to PySide as quite essential a