[New-bugs-announce] [issue45302] basic builtin functions missing __text_signature__ attributes

xloem report at bugs.python.org
Mon Sep 27 11:46:25 EDT 2021

New submission from xloem <0xloem at gmail.com>:

As there is no __text_signature__ nor __signature__ attribute on basic builtin functions such as print or open, inspect.signature() cannot enumerate their parameters.

It seems adding these might not be a complex task for somebody familiar with the code.

components: Argument Clinic, Interpreter Core
messages: 402727
nosy: larry, xloem
priority: normal
severity: normal
status: open
title: basic builtin functions missing __text_signature__ attributes
type: enhancement
versions: Python 3.8

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list