You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Builtin functions and methods lack a .__text_signature__ property #2410
Running this under the debugger (import pdb; pdb.runcall(inspect.signature, struct.unpack_from)), you see that inspect does getattr(struct.unpack_from, "__text_signature__") which is defined in CPython here, and that's not implemented in RustPython, so you get this instead:
changed the title [-]Some builtin methods implemented in Rust don't report their signature[/-][+]Some methods which should report their signature don't report their signature[/+]on Jan 24, 2021
changed the title [-]Some methods which should report their signature don't report their signature[/-][+]Implement a .__text_signature__ property for builtin functions and methods[/+]on Feb 7, 2021
changed the title [-]Implement a .__text_signature__ property for builtin functions and methods[/-][+]Builtin functions and methods lack a .__text_signature__ property[/+]on Feb 7, 2021
Activity
[-]Some builtin methods implemented in Rust don't report their signature[/-][+]Some methods which should report their signature don't report their signature[/+][-]Some methods which should report their signature don't report their signature[/-][+]Implement a .__text_signature__ property for builtin functions and methods[/+][-]Implement a .__text_signature__ property for builtin functions and methods[/-][+]Builtin functions and methods lack a .__text_signature__ property[/+]moreal commentedon Aug 14, 2021
I will start to work on this issue.
Compare native signatures and docstrings in whats_left.py (#8751)