[issue39753] inspecting a partial with bound keywods gives incorrect signature

2020-03-01 Thread Ido Michael
Ido Michael added the comment: Is it a bug? I can add the signature and set a PR -- nosy: +Ido Michael ___ Python tracker ___ ___

[issue39753] inspecting a partial with bound keywods gives incorrect signature

2020-02-27 Thread Caleb Donovick
Change by Caleb Donovick : -- nosy: +donovick ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39753] inspecting a partial with bound keywods gives incorrect signature

2020-02-25 Thread Chris Withers
Chris Withers added the comment: Surprised partials have no explicit signature: >>> p.__signature__ Traceback (most recent call last): File "", line 1, in AttributeError: 'functools.partial' object has no attribute '__signature__' -- ___ Python

[issue39753] inspecting a partial with bound keywods gives incorrect signature

2020-02-25 Thread Chris Withers
Change by Chris Withers : -- components: +Library (Lib) versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39753] inspecting a partial with bound keywods gives incorrect signature

2020-02-25 Thread Chris Withers
New submission from Chris Withers : $ python Python 3.8.1 (v3.8.1:1b293b6006, Dec 18 2019, 14:08:53) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from functools import partial >>> def foo(x, y, z, a=None): pass ... >>> p =