[issue45302] 10 built-in functions need non-None .__text_signature__

2021-10-04 Thread xloem
xloem <0xl...@gmail.com> added the comment: Thanks for your time. Just a note that this is likely a docs issue if nothing else. I may never have opened this issue if the missing functions were listed in the inspect module documentation. -- ___

[issue45302] 10 built-in functions need non-None .__text_signature__

2021-10-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: As Serhiy says, this is a known issue that we can't do anything about until signature objects become more expressive. The C code already has comments such as: /* AC: cannot convert yet, waiting for *args support */ /* AC: cannot convert yet,

[issue45302] 10 built-in functions need non-None .__text_signature__

2021-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are reasons for this. There is no supported by inspect.signature() syntax to adequately define the signature of say getattr(). It has one required parameter and one optional parameter, but the default value of the optional parameter cannot be

[issue45302] 10 built-in functions need non-None .__text_signature__

2021-10-02 Thread Éric Araujo
Change by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45302] 10 built-in functions need non-None .__text_signature__

2021-10-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that finishing this would be nice. In branch main (3.11.0a0), open and print now have non-None versions of this attribute. However, for ob in builtins.__dict__.values(): if (str(ob).startswith(' So there are still some to do. for ob