[Python-Dev] signature for PySide ready (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Sat Aug 19 03:37:06 EDT 2017
- Previous message (by thread): [Python-Dev] __signature__ for PySide ready
- Next message (by thread): [Python-Dev] __signature__ for PySide ready
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 19 August 2017 at 02:55, Jelle Zijlstra <jelle.zijlstra at gmail.com> wrote:
2017-08-18 18:20 GMT+02:00 Yury Selivanov <yselivanov.ml at gmail.com>:
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.
Yury was probably referring to https://funcsigs.readthedocs.io/, which is a partial backport specifically of inspect.Signature and friends.
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 backports do.
Cheers, Nick.
-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message (by thread): [Python-Dev] __signature__ for PySide ready
- Next message (by thread): [Python-Dev] __signature__ for PySide ready
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]